- Install Xcode (App Store)
- Install developer tools (Xcode preferences > Additional downloads)
- Install Homebrew
Created
December 4, 2012 09:31
-
-
Save andrew/4202180 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.3 with rbenv on OS X 10.8 Mountain Lion
This file contains hidden or 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
$ brew install rbenv | |
$ brew install ruby-build | |
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
$ rbenv install 1.9.3-p327 | |
$ echo "1.9.3-p327" > ~/Sites/PROJECT_NAME/.rbenv-version | |
$ cd ~/Sites/PROJECT_NAME | |
$ gem install bundler && rbenv rehash | |
$ bundle install | |
$ bundle exec rake db:create:all | |
$ bundle exec rake db:migrate | |
$ rails s | |
# Open http://localhost:3000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment