Aug
31
Updating to Ruby 1.9.2 on Snow Leopard
Rail 3 was released a few days ago. According to the getting started guide, to develop for Rails 3, I needed to install Ruby 1.9.x onto Snow Leopard, which ships with Ruby 1.8.7. Here are the steps that I cobbled together from google searches to replace the 1.8.7 version:
- curl http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p0.tar.bz2 -o ruby-1.9.2-p0.tar.bz2
- tar -xvzf ruby-1.9.2-p0.tar.bz2
- cd ruby-1.9.2-p0
- ./configure —prefix=/usr —enable-pthread
- make
- make test
- sudo make install
- i forget what 8 was for
- sudo gem install rails
- sudo gem install bundler
Now you should be up on the latest Ruby and Rails.
FMI http://www.ruby-lang.org/en/news/2010/08/18/ruby-1-9-2-is-released/