0

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

slhck
  • 228,104
Jhorra
  • 141

4 Answers4

2

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
1

I suggest using rvm instead of trying to mess with ruby that comes default with Mac os

0

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/

Gareth
  • 18,809
0

From my comment, you can upgrade rails by this command (I hope):

sudo gem install rails
Blender
  • 666