I'm running on OSX Snow Leopard. Using ruby -v
I see I have 1.8.7 and using rails -v
I have 2.3.5
When I try gem update rails I get the following error:
bundler requires RubyGems version >= 1.3.6
I'm running on OSX Snow Leopard. Using ruby -v
I see I have 1.8.7 and using rails -v
I have 2.3.5
When I try gem update rails I get the following error:
bundler requires RubyGems version >= 1.3.6
I suggest using rvm instead of trying to mess with ruby that comes default with Mac os
The error message you're receiving is because the new version of Rails requires a newer version of gem
than you have. You can update gem
like this:
gem update --system
You may need sudo
if you're using system gem. You can check the version of gem by running:
gem -v
Once this is done, and you can confirm your gem version is at least 1.3.6, you should be able to run:
gem update rails
From my comment, you can upgrade rails
by this command (I hope):
sudo gem install rails
I don't know if you have Brew or Macport:
If you have Brew installled then you use the following command to install:
sudo gem install rails
or
brew gem install rails
Please go through this link:
http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/