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

后端 未结 11 1844
悲哀的现实
悲哀的现实 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:30

    Yet, another alternative to RVM is the awesome rbenv tool.

    It is very easy to install (just a simple brew install rbenv) and work with. In my opinion, it is the best way to manage your rubies on a Mac.

    However, if you have rvm installed on your machine already, consider removing it from your system by doing rvm implode.

    Since setting up a fresh ruby on rails dev environment is a common barrier to most newbies (including myself when i started off with rails) I've put together detailed instructions on how to do exactly that in a blog post, which i will link to below. Hope you will find it useful.

    http://blog.parsalabs.com/blog/2013/08/27/setting-up-a-ruby-on-rails-4-development-environment-on-a-clean-mac-os-x-installation/

提交回复
热议问题