Skip to content

Instantly share code, notes, and snippets.

@jswanner
Forked from wayneeseguin/gist:296055
Created April 16, 2010 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jswanner/368831 to your computer and use it in GitHub Desktop.
Save jswanner/368831 to your computer and use it in GitHub Desktop.
This example shows how to setup an environment running Rails 3 beta under 1.9.2-head with a 'rails3' gem set.
∴ rvm update --head
# ((Open a new shell)) or do 'rvm reload'
# If you do not already have the ruby interpreter installed, install it:
∴ rvm install 1.9.2-head
# Switch to 1.9.2-head and gemset rails3, create if it doesn't exist.
∴ rvm --create use 1.9.2-head@rails3
# Download the gems(et) file for rails3 beta 2:
∴ curl -L http://rvm.beginrescueend.com/gemsets/rails3b2.gems -o rails3b2.gems
# Load the gems(et) file into the current gem environment.
∴ rvm gemset import rails3b2.gems
# Check to see we now have Rails 3.0.0 beta2
∴ rails --version
Rails 3.0.0.beta2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment