InstallingAboutUsOnOSX/ruby
This is one step in the InstallingAboutUsOnOSX process.
Ruby
mkdir -p /www/build cd /www/build curl -O http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p287.tar.gz tar zxvf ruby-1.8.6-p287.tar.gz cd ruby-1.8.6-p287 ./configure --prefix=/www make make install-all
RubyGems
echo $PATH # should have /www/bin at the front mkdir -p /www/build cd /www/build curl -O http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz tar zxvf rubygems-1.3.1.tgz cd rubygems-1.3.1 ruby setup.rb
I moved my apple installed one to /usr/bin/applegem to keep it out of the way
Rails and Other Gems
Most of the gems are installed with the geminstaller, during the compost setup process. I do not believe that the below steps are needed, however, if you used the apple mysql you may want to install the mysql gem yourself with
gem install mysql -- --with-mysql-dir=/usr/local/mysql
gem install rails -v 2.1.0 gem install rcov gem install amatch gem install memcache-client gem install mechanize gem install capistrano gem install json gem install flexmock gem install mongrel