ruby on rail on MAC
Posted on February 3, 2008 by gwlc
Installing rail is very simple on ubuntu, but not so easy on MAC. I tried couple of times and done it.
The simple way is to install rubygems to install rail.
Ruby is installed in Mac, but the version is old which I need update it first. here is a good article to installĀ everything.
- check the ruby’s version, 1.8.2, need a new version. so download “readline”, “ruby-1.8.6″ and “rubygems”
- install readline and ruby, followting the instructor to “configure”, “make” and “sudo make install”
- install rubygems. “configure”, “make” and “sudo make install”
- install rails. I continue getting error “cannot convert nil into array”, I did some research and found it is a path issue, so “export PATH=”/usr/local/bin:/usr/local/sbin:$PATH”,
- install rails. “gem install -y rails”
Done.