I run rails version 2.3.5 and rubygems version 1.3.6 when I script / server get this error
Rails requires RubyGems> = 1.3.2. Please install RubyGems and try again: http://rubygems.rubyforge.org
any ideas how to fix this?
I could not understand what happened, so I installed rvm with a new version of rails and rubies.
The first thing you need to do is run: gem env
, , RUBYGEMS_VERSION GEM_PATHS. , , , .
GEM_PATHS , , , .
GEM_HOME .bash_login/etc. gem env, , .
, , GEM PATH.
, /. sudo , , /.
, rubygems sudo, root.
, :
, . , . , bash, , .basrc, - :
GEMS =///ruby1.8/Library///1,8// PATH = $RUBY: $GEMS: $HOME/bin: $PATH: $NGINX: $MONIT: $GIT
, , - , , .
rmagik, macports, /opt/... rubygems , ruby.
, rvm (http://rvm.beginrescueend.com/), raphael_turtle, , RVM , .
* macports brew, , , , .
I had the same problem. My installation was made for me by technical support, so I did not install (security problems).
The problem was that I did not have access permissions, so this helped:
sudo - su user_name_with_enough_access_rights
And run the scripts / server again.