• Looking Back

    February 2008
    M T W T F S S
    « Jan   Mar »
     123
    45678910
    11121314151617
    18192021222324
    2526272829  
  • History

  • Meta

ruby on rail on MAC

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.

  1. check the ruby’s version, 1.8.2, need a new version. so download “readline”, “ruby-1.8.6″ and “rubygems”
  2. install readline and ruby, followting the instructor to “configure”, “make” and “sudo make install”
  3. install rubygems. “configure”, “make” and “sudo make install”
  4. 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”,
  5. install rails. “gem install -y rails”

Done.

Leave a Reply