The installation process for Rails has 3 steps:
1. Install the Apple Developer Tools (Xcode) found on the Mac OS X
installation disk or downloaded from the Apple Developer Connection
2. Download and install MacPorts (formerly DarwinPorts). This tool
greatly simplifies the installation of Ruby on Rails and can be later
used to update or remove Rails. MacPorts can be installed from a
familiar disk image file.
3. Open the Terminal application and type the following command,
followed by the return key. It will most likely prompt you to enter
sudo port install ruby
Steps 1 & 2 are easy enough: Xcode and MacPorts installs without
problem. However, when I enter the command: sudo port install ruby I
get an error:
sudo: port: command not found
It seems the path is not being set.
If anyone know a quick fix for this I would appreciate it. I am not
very familiar with the "under the hood" stuff on the Mac.