Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2010 18:21
What would you like to do?
This example shows how to setup an environment running Rails 3 under 1.9.2 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
# Switch to 1.9.2-head and gemset rails3, create if it doesn't exist.
∴ rvm --create use 1.9.2@rails3
# Install Rails 3 final
∴ gem install rails
# Check to see we now have Rails 3
∴ rails --version
Rails 3.0.0
Copy link

yar commented Apr 23, 2010

I had to update macports packages, otherwise step 2 failed.

Copy link

Thank you for this. Worked perfectly for me.

Copy link

You beauty. Perfect solution.

Copy link

gem install rails --pre --no-ri --no-rdoc

  • The rails gem pulls in the bundler gem. When you get to your new app, run bundler install to complete

rails new shiny-app
bundler install

  • and sqlite3 will appear

Copy link

TMorgan99 -


bundle install

Copy link

Thanks for sharing this!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment