Tuesday, 2 February 2010

Rails update a gem to an older version

You want say rack version 1.0.1 but the latest version is rack 1.1 and it's installed on your machine:

gem install [gem name] --version [version number]

For example:
gem install rack --version 1.0.1