I’m new in Ruby on Rails, I’m trying to install rails on mac os x 10.6.8 (i already have ruby: ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]), but when I try to see the rails version installed using $ rails -v, I get:
rails is not currently installed on this system. To get the latest version, simply type:
I tried to run:
$ sudo gem install rails
You can then rerun your “rails” command.
Of course i tryed to type sudo gem install rails and others options too but no solution, also i tryed to install rvm, this is what i have:
$ rvm -v
rvm 1.13.0 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
how can i do to make it work together? or what can i do to fix the problem?
I was having the same problem when running OSX 10.7.4. I solved it with the following approach.
Identify the gem manager you’re using:
Then do a gem update for that specific version:
This took ages to complete, but once finished,
rails -vreturns:Admittedly life shouldn’t be this hard. Although I’m used to command line stuff, I’d love to see a graphical tool that allows you to mix, match and confirm what Ruby/Gems are installed on your system.
I hope this helps.