Skip to content

Instantly share code, notes, and snippets.

@eregon
Forked from wayneeseguin/gist:296055
Created February 21, 2010 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eregon/310469 to your computer and use it in GitHub Desktop.
Save eregon/310469 to your computer and use it in GitHub Desktop.
Rails 3 rvm gemsets
This example shows how to setup an environment running Rails 3 beta under 1.9.1 with a 'rails3' gem set.
((This is a fork of wayne, please see his gist if you want recent syntax for rvm.
Mainly, gems is replaced by gemset))
∴ rvm update --head
# ((Open a new shell))
# If you do not already have the ruby interpreter installed, install it:
∴ rvm install 1.9.1
# Use the ruby + gem set
∴ rvm 1.9.1%rails3
# Download the gems(et) file:
∴ curl -L http://rvm.beginrescueend.com/gemsets/rails3.gems -o rails3.gems
# Load the gems(et) file into the current gem environment.
∴ rvm gems import rails3.gems
# Check to see we now have Rails 3.0.0 beta
∴ rails --version
Rails 3.0.0.beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment