Created
June 7, 2011 17:33
-
-
Save cdwilson/1012705 to your computer and use it in GitHub Desktop.
Snow Leopard Rails setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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