public
Created — forked from wayneeseguin/gist:296055

rvm and rails3 setup follow

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
This example shows how to setup an environment running Rails 3 beta under 1.9.1 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.1
 
# Switch to 1.9.1 and gemset rails3, create if it doesn't exist.
∴ rvm --create use 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 gemset import rails3.gems
 
# Check to see we now have Rails 3.0.0 beta
∴ rails --version
Rails 3.0.0.beta

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.