Skip to content

Commit

Permalink
Rails now requires rubygems 1.3.1 of higher.
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Nov 14, 2008
1 parent c562dfc commit 549b18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/environments/boot.rb
Expand Up @@ -82,7 +82,7 @@ def gem_version

def load_rubygems
require 'rubygems'
min_version = '1.1.1'
min_version = '1.3.1'
unless rubygems_version >= min_version
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
exit 1
Expand Down

5 comments on commit 549b18c

@wtn
Copy link

@wtn wtn commented on 549b18c Nov 22, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing problems for me on OS X 10.5.5, as I encounter the following issue:
bash-3.2# gem update —system
Updating RubyGems
Nothing to update
bash-3.2# gem -v
1.2.0

@wtn
Copy link

@wtn wtn commented on 549b18c Nov 22, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another oddity:
bash-3.2# /Library/Ruby/Gems/1.8/gems/rubygems-update-1.3.1/bin/gem -v
1.2.0

@yaroslav
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wtn http://letmegooglethatforyou.com/?q=rubygems+update+to+1.3.1

@jfernandez
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ sudo gem install rubygems-update
Successfully installed rubygems-update-1.3.0
1 gem installed
$ sudo update_rubygems
Installing RubyGems 1.3.0

@wtn
Copy link

@wtn wtn commented on 549b18c Nov 24, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tip on using update_rubygems.
I figured out that 1.3.1 installed correctly when I downloaded the tarball and ran the install script.
I apologize for posting here.

Please sign in to comment.