Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250245

Summary: dev-ruby/rails-2.2.2 RDEPENDs on >=dev-ruby/rubygems-1.3.1
Product: Gentoo Linux Reporter: MATSUU Takuto (RETIRED) <matsuu>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description MATSUU Takuto (RETIRED) gentoo-dev 2008-12-08 02:19:43 UTC
$ rails foo
(snip)
$ cd foo
$ ruby script/server
Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.

in config/boot.rb:
      def load_rubygems
        require 'rubygems'
        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
        end

So, I think '>=dev-ruby/rubygems-1.3.1' should be added to RDEPEND of dev-ruby/rails-2.2.2-r1.
Comment 1 Hans de Graaff gentoo-dev Security 2008-12-08 20:29:40 UTC
Agreed, and fixed for dev-ruby/rails-2.2.2-r1.