Archive for November, 2007

Connecting Ruby on Rails to Oracle on an Intel Mac in Leopard (Mac OSX 10.5)

NOTE: This tutorial has been superseded by a newer version that takes advantage of the newly-released Intel Mac version of the Oracle InstantClient. The new version is much, much simpler, and causes far fewer headaches.
Updated (12/11/07): The ruby-oci8 library just went to full 1.0.0 release. I’ve updated that section to reflect the new file [...]

HOWTO: Upgrade your Ruby on Rails install to version 2.0 on Leopard (Mac OSX 10.5)

This one’s real easy. Leopard ships with a default Rails installation (/usr/bin/rails), but overriding it is quite simple, since it’s just a gem.
sudo gem install rails –source http://gems.rubyonrails.org
Then, enter “y” at each prompt, to install all of the dependencies. That’s it! Check yourself with:
rails -v
Right now it will show Rails 1.99.0 which [...]