I've decided to give RoR a shot again but this time with macports. For those people on the mac trying to develop RoR apps, macports is the way to go!
But here are some things that I did when im installing ruby on my mac:
1) Google "macports+rails"
2) mongrel doesnt work if you install it after rails. to avoid this pain, type "sudo gem install -y mongrel mongrel_cluster rails"
3) When running the webserver for the first time, make sure you update your /etc/profile configuration file to use the macport ruby not the default mac ruby found on /usr/bin. Sooo change this: PATH="/bin:/sbin:/usr/bin:/usr/sbin" to this PATH="/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin"
Now go .rb'ing like a mofo!
p.s. If you bought 
burn it and get
Rails changed dramatically on 1.2
20070723
macports & ruby installation on my pimp macbook pro
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment