How to Install Rails on Leopard

Pete put keys to keyboard and outlines the steps here.

Here are all the commands you need to run in the Terminal to install Ruby, MySQL, and Rails:

sudo port install ruby
sudo port install rb-rubygems
sudo port install msyql5 +server
sudo mysql_install_db5
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
sudo port install rb-mysql
sudo gem install -y rails
sudo gem install -y mongrel

Check out the article for more details, such as how to set up your environment so the commands above actually work.

If you are on Leopard, Rails is already installed. So you can skip the above steps entirely and just start with:

% rails 

Update: See also this Apple article.

2 Responses to “How to Install Rails on Leopard”

  1. Felix Says:

    Rails comes with Leopard. There is no need to install it.

  2. Geoff Wilson Says:

    If you want to track Rails development at a rate faster than Apple is releasing updates, you may want to install you own. It just depends on your needs for your development environment.

Leave a Reply