If you encounter the error message above when running cucumber, just execute... rm rerun.txt ...in the Rails directory.
In order to monitor a Rake task using God your Rake file must write a file with its process ID...
Looks simpler than inaction_mailer: gem install mailcatcher mailcatcher Setup Rails to send mails to 127.0.0.1:1025. Usually you want...
When adding a new field to your model's database table, don't set any defaults in the database.
Oniguruma is an advanced regular expression engine for Ruby. Install Oniguruma with binary dependencies like this: sudo apt-get install...
There is a new card about how to do this with the new AWS Command Line Interface
If Rails or Rake are complaining about a missing gem that is listed in your Gemfile.lock and the listed version...
We are consistently having trouble with selenium-webdriver > 2.5.0 where whenever we try to select an option from a Capybara...
The state_machine gem comes with a rake task that lets you generate PNG graphs from any model using state...
Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...
Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...
Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.
When you need to create a locale for a language variant (like Austrian for German), you probably don't want...
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
When you need to zip up files in Ruby, use zipruby. sudo gem install zipruby You can add existing files...
This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...
We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts
API breakage ahoy. You need to either upgrade your Capybara or downgrade your selenium-webdriver gem. Alternatively, this could solve...
With gem dependency it is possible to check the dependencies for your gem before you install it.