Created
February 5, 2010 18:21
-
-
Save wayneeseguin/296055 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Thank you for this. Worked perfectly for me.
You beauty. Perfect solution.
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
TMorgan99 -
It's:
bundle install
Thanks for sharing this!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to update macports packages, otherwise step 2 failed.