Skip to content

Instantly share code, notes, and snippets.

@rkh
Created January 2, 2010 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save rkh/267470 to your computer and use it in GitHub Desktop.
Save rkh/267470 to your computer and use it in GitHub Desktop.
# Installing Rails 3.0.pre in it's own gemset using rvm.
# I use Ruby Enterprise Edition for rails development.
# You might want to replace ree with Your Favorite Ruby Implementation(tm)
rvm use ree%rails3 # Create new gemset called rails3.
gem install rake rack test-spec thor sqlite3-ruby # Get some gems we'll need (rails3 gemset should be empty)
git clone git://github.com/rails/rails.git && cd rails # Get rails source.
git submodule init && git submodule update # Get git dependencies.
rake package && gem install -f */pkg/*.gem pkg/*.gem # Create gems and install
cd arel && thor :build && thor :install && cd ../.. # Install arel
rails --version # => Rails 3.0.pre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment