Posted By

ctran on 07/16/07


Tagged

Bash mac rails


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

basicmagic
bartekk
sbbath
leachypeachy
twoism


Rails on Mac


 / Published in: Bash
 

URL: http://duncandavidson.com/archives/164

Setting up rails on a new Mac. You need to install Xcode first.

  1. # MacPorts
  2. sudo port install apache2
  3. sudo port install mysql5 +server
  4. sudo port install subversion +tools
  5. sudo port install ruby
  6. sudo port install rb-rubygems
  7. sudo port install rb-termios
  8. sudo port install rb-mysql
  9.  
  10. # Gems
  11. sudo gem install -y rake
  12. sudo gem install -y rails
  13. sudo gem install -y capistrano mongrel mongrel_cluster
  14.  
  15. # Config mysql
  16. sudo mysql_install_db5 --user=mysql
  17. sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist

Report this snippet  

You need to login to post a comment.