Mac OS X Mountain Lion “Rails is not currently installed on this system.”

后端 未结 11 1766
悲哀的现实
悲哀的现实 2021-02-01 08:42

I am on a fresh install of OS X Mountain Lion. I have installed rails via:

sudo gem install rails

Everything seems to install correctly, but wh

11条回答
  •  情深已故
    2021-02-01 09:22

    I had the same problem.

    After typing:

    sudo gem install rails
    

    and installing rails correctly, just close the Terminal window and open again. Then type:

    ~ $ rails -v
    Rails 4.0.2
    

    So, reseting the Terminal window fix the problem.

提交回复
热议问题