If you're on a mac, you already have rails and ruby 1.8.6 (osx 10.5) or 1.8.7 (osx 10.6).
Just sudo gem update to get the latest version and you're good to go.
Just sudo gem update to get the latest version and you're good to go.
ruby - Ruby itself is prerequisite in order to build Ruby 1.9. It can be 1.8.
source: http://redmine.ruby-lang.org/wiki/ruby/DeveloperHowto#label-...