Skip to content

Instantly share code, notes, and snippets.

@newtonapple
Created September 4, 2009 22:07
Show Gist options
  • Save newtonapple/181178 to your computer and use it in GitHub Desktop.
Save newtonapple/181178 to your computer and use it in GitHub Desktop.
Snow Leopard Upgrade Guide for Rails Developers
Snow Leopard for Ruby Developers
## Official Rails Guide to upgrading Snow Leopard
http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard
## MacPorts:
reference page: http://www.macports.org/install.php
download macports: http://distfiles.macports.org/MacPorts/MacPorts-1.8.0-10.6-SnowLeopard.dmg
## Afte installing macports do this:
sudo port selfupdate
sudo port sync
# if you choose not to do a clean install (i.e. upgrade) do this:
sudo port uninstall -f installed
## Stuff to install via MacPorts
# install rb-rubygems only if did a clean install
sudo port install git +svn mysql5-server memcached ImageMagick ruby rb-mysql rb-rubygems
# You should copy paste the launchd command for mysql so that mysql always started on boot
# I would advice you do the following:
sudo gem update --system
sudo gem source -a http://gems.github.com
# this is only for upgrade (clean install u don't need this)
# download this script, run it, and follow its instruction (uninstall and reinstall a bunch of gems): http://gist.github.com/178245
## Install the gems you need
sudo gem install rails rubygems-update rmagick fastercsv mongrel mongrel_cluster mysql rspec rspec-rails webrat cucumber BlueCloth RedCloth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment