Environment Setup
It just takes a few steps to get started with Ruby and Rails. Find the section for your platform below:
MacOS X
- Download and Install Apple’s XCode from http://developer.apple.com/technology/Xcode.html. XCode is Apple’s development platform and it includes all the compilers and tools you’ll need to get started with multiple languages including Ruby.
- Enter Terminal and issue the following commands:
ruby -v
If you have OS X 10.5 or later then Ruby is already installed on your system. This command should show you exactly what version. Anything above 1.8.5 should be fine for our purposes.
sudo gem update --system
This command will update the gem package management system to the latest version
sudo gem install fastercsv twitter hpricot rails sunlight
- Download and install the RubyMine IDE at http://www.jetbrains.com/ruby/download/index.html
- If you are participating in Rails Jumpstart, check out the Rails-specific notes here: http://jumpstartlab.com/resources/rails-jumpstart/preparation/
Windows