Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250245 - dev-ruby/rails-2.2.2 RDEPENDs on >=dev-ruby/rubygems-1.3.1
Summary: dev-ruby/rails-2.2.2 RDEPENDs on >=dev-ruby/rubygems-1.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-08 02:19 UTC by MATSUU Takuto (RETIRED)
Modified: 2008-12-08 20:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.