I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...
Note The maintenance mode is enabled on all application server as soon as the file /public/system/maintenance.html is present. Installation
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
Install this gem and stop using bundle exec or even Geordi's handy b. Yay!
When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...
I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...
Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...
As we get an exception notification, when a cron job fails, we wish to have the full backtrace in this...
When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...
I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...
When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...
Sometimes you want to know exactly how many objects exist within your running Ruby process. Here is how: stats = {} ObjectSpace.each...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
If you have problems installing a gem and get a error collect2: error: ld returned 1 exit status it's...
To update your Rubygems to the latest available version, type the following: gem update --system Note that you have a...
If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever
To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...
Here is how to start your Rails application to accept both HTTP and HTTPS in development. gem install passenger
The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it...
Sometimes you need to run background jobs that you can't make important guarantees about - they may run out of...
Today I ran into this: Invalid gemspec in [/usr/local/rvm/gems/ruby-1.9.3-p194/specifications/ZenTest-4.9.3.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]. You need a newer Rubygems version. Try...