To install webmock 1.5.0: sudo gem install webmock --version "=1.5.0" or sudo gem install webmock -v "=1.5.0"
As a user of Bundler you have spent significant time looking at this message: Fetching source index for http://rubygems.org...
Given this class: class Foo class Bar end end If you want to clean up this code with the modularity...
This is a bash script for those of you who need to install all gems for all projects (e.g. to...
After switching to Rails 3 you may get a LoadError with the following message when trying to use your application...
You will need to upgrade to RSpec >= 2 and rspec-rails >= 2 for Rails 3. Here are some hints to...
I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...
Be careful when memoizing a method that returns a scope, e.g.: def variants scoped(:conditions => { :name => name }) end memoize :variants...
The ancestry gem allows you to easily use tree structures in your Rails application. There is one somewhat unobvious pitfall...
You need to install the following packages before you can build the Nokogiri gem: sudo apt-get install libxml2-dev...
Even when you're using bundler, it might be significant in which order your gems are listed in your Gemfile...
Ruby gem that provides an AR-style interface for the Pivotal Tracker API.
You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...
You can use record.send(:update_without_callbacks) or record.send(:create_without_callbacks) This can be used as a...
You don't need a Rails application to use Sass. Even when you're working on a static site you...
power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...
First of all: You could just use RVM which would make the pain go away. If for some reason you...
You can use the whatlanguage gem to detect the language of a Ruby string. Note that it also has not...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
Capistrano task for Bundler.
Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com
This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
Our gem Mail Magnet allows you to override e-mail recipients in ActionMailer so all mails go to a given...
There will probably be better solutions as we become more experienced with using Bundler, and more command line tools become...