Skip to content

Instantly share code, notes, and snippets.

@cdwilson
Created June 7, 2011 17:33
Show Gist options
  • Save cdwilson/1012705 to your computer and use it in GitHub Desktop.
Save cdwilson/1012705 to your computer and use it in GitHub Desktop.
Snow Leopard Rails setup
#!/bin/sh
if [ `whoami` != root ]; then
echo Please run this script as root or using sudo
exit
fi
port selfupdate
port upgrade outdated
port upgrade sqlite3
port install ruby
port install rb-rubygems
gem update --system
gem uninstall rubygems-update
# http://buzzcodington.wordpress.com/2011/04/29/file-not-found-lib-error-while-installing-rails-3-0-7/
gem install rdoc-data
rdoc-data -–install
gem rdoc –-all –-overwrite
rdoc-data
gem install rails
gem install sqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment