Install RVM, Ruby and Rails 1.9.3 on OS X Lion
Quick instructions for installing RVM, Ruby and Rails 1.9.3 on OS X Lion.
- Install Xcode from the Mac App Store (4.3.3 is the most current at the time of this post)
- Install Xcode command line tools: Open Xcode, then Preferences > Downloads > Command line tools > Install
- Install RVM: open a terminal window and enter the command:
curl -L https://get.rvm.io | bash -s stable --ruby
- Install Ruby 1.9.3:
rvm install 1.9.3
- Make Ruby 1.9.3 your default ruby interpreter:
rvm --default 1.9.3
- Install Rails:
gem install rails
Update: Building Local Copies of Rails Guides and Ruby API docs.
For my own sake more than anything else, I wanted to post a link to a great blog post on how to build local copies of Rails Guides and Ruby API docs for those times you’re without Internet.