I just transferred over from a nice little Mac Mini to a Macbook Pro, and found that my Ruby on Rails installation is goooone. No problem! I’ll just re-install.

I’m following the instructions over at Hivelogic. The only problem with the instructions is that with the rapidly changing world of open source development, it’s bound to be out of date. So, since comments are closed on the article, I’ll just write my own entry with the latest versions as of today.

To get the latest versions, follow the instructions at Hivelogic and I’ll provide updated code to copy and paste only for the sections that have changed.

Readline

The latest version of Readline is now 5.2, so you can copy and paste this for the latest version.

curl -O ftp://ftp.cwru.edu/pub/bash/readline-5.2.tar.gz
tar xzvf readline-5.2.tar.gz
cd readline-5.2
./configure --prefix=/usr/local
make
sudo make install
cd ..

Ruby

The latest version of ruby is 1.8.6. Nothing has changed here.

Ruby Gems

The latest version of Gems is 0.9.4

curl -O http://files.rubyforge.mmmultiworks.com/rubygems/rubygems-0.9.4.tgz
tar xzvf rubygems-0.9.4.tgz
cd rubygems-0.9.4
sudo /usr/local/bin/ruby setup.rb
cd ..

Subversion

curl -O http://subversion.tigris.org/downloads/subversion-1.4.4.tar.gz
curl -O http://subversion.tigris.org/downloads/subversion-deps-1.4.4.tar.gz
tar xzvf subversion-1.4.4.tar.gz
tar xzvf subversion-deps-1.4.4.tar.gz
cd subversion-1.4.4
./configure --prefix=/usr/local --with-openssl --with-ssl --with-zlib
make
sudo make install
cd ..

MySQL

The latest version of MySQL on their site now ends in a .45, where Hivelogic links out to .41

Here’s the links for PowerPC and Intel (I just took his links and modded them to use 45)

That’s all folks!

Sorry, comments are closed for this article.