Wednesday, March 04, 2009

How to load a specific version of gem

For some reason if you want to use specific version of gem installed on your system:

require 'rubygems'
gem 'activesupport', '=1.4.2'
require 'active_support'

No comments:

Post a Comment