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.
Regular expressions can have something called "zero-width look-behind assertions". This means that you want a pattern to be...
Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...
We're adding a script console-for to open a remote Rails console with one command. Also have a look...
sudo apt-get install sqlite3 libsqlite3-dev sudo gem install sqlite3-ruby
Sometimes, when running a rake task, RubyGems 1.8.5 raises an error: rake aborted! undefined method `specifications' for "/usr/lib/ruby/gems/1.8":String
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...
When using the resource_controller gem you often hook onto events like this: update.before do do_something end
Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...
When running an executable, ALWAYS use bundle exec. In some cases, running executables without bundle exec may work, if the...
Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...