tl;dr: Ruby's Bundler environment is passed on to system calls, which may not be what you may want...
When using the json gem, you might run into this error when using JSON.parse: >> json = 'foo'.to_json >> JSON.parse(json...
Rails gives you migrations to change your database schema with simple commands like add_column or update. Unfortunately these commands...
Access the Method object Dead simple: Get the method object and ask for its owner: "foo".method(:upcase) # => #
For example if you use rvm and get this message: ERROR: Loading command: install (LoadError) no such file to load...
Given you use Capistrano together with bundler to automatically install your gems when deploying. I recently had the problem that...
MongoMapper is a MongoDB adapter for Ruby. We've forked it so it works for Rails 2.3.x applications running...
Ruby 1.9 changed the default behavior of Module.const_defined? from what it was in Ruby 1.8 -- this can be especially...
Rails 2.3.16+ on Ruby 1.9 causes warnings like this: .../gems/activesupport-2.3.17/lib/active_support/core_ext/string/output_safety.rb:22: warning: regexp match /.../n against to UTF-8 string...
You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...
Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...
If bundle install shows the following message for you ... Error Bundler::HTTPError during request to dependency API ... upgrade to Bundler...
In our continued quest to extract proven code snippets from makandropedia into tested and upgradable gems, we have released Edge...
The Edge Rider gem gives your relations a method #traverse_association which returns a new relation by "pivoting" around a...
When you accept a table in your Cucumber step definition, that table object will have the cryptic type Cucumber::Ast...
January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote...
Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...
Calling bundle update (without arguments) updates all your gems at once. Given that many gems don't care about stable...
Upgrade the offending gem. If you cannot or don't want to upgrade, lock rake to 0.8.7.
Do this before you install the gem: sudo apt-get install libffi-dev
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
Great solution in a GitHub issue.
Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.
navy 0.5.1+ gives empty navigation containers a CSS class .navy-empty which you can hide via .navy-navigation &.navy-empty...