Install Old Versions of Ruby Gems

I am setting up a new machine that has some old software requirements for my project this week. A quick tip if you need gems to be installed at an older version (if they are still available).

Use the -v version flag to specify which version you want.

sudo gem install capistrano -v 1.4.1

If you’ve got the newer versions of the capistrano gem, no need to fret. You can specify the version you want to use on the command line like this:

cap  _1.4.1_  deploy

You can alias that to something else in your bash profile by adding something like this:

alias cap1='cap  _1.4.1_'
Posted: October 20th, 2007
Categories: Ruby, Work
Tags:
Comments: No Comments.