Bug 471442

Summary: Rails fails to run due to rake version error
Product: [Fedora] Fedora EPEL Reporter: Joshua Baker-LePain <joshua.bakerlepain>
Component: rubygem-railsAssignee: Michael Stahnke <mastahnke>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: el5CC: lutter, mastahnke
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-13 21:49:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Baker-LePain 2008-11-13 18:30:12 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.2) Gecko/2008092318 Fedora/3.0.2-1.fc9 Firefox/3.0.2

When I attempt to run the command 'rails', I get the following output:
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:578:in `report_activate_error': RubyGem version error: rake(0.7.3 not >= 0.8.1) (Gem::LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:134:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:158:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `each'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:157:in `activate'
        from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem'
        from /usr/bin/rails:15


Reproducible: Always

Steps to Reproduce:
1. yum install rubygem-rails
2. 'rails'

Comment 1 Joshua Baker-LePain 2008-11-13 19:05:36 UTC
I just rpmbuilt the F8 src RPM for rubygem-rake-0.8.3-1 and rails seems happy now.  Is the rake version bump all that's needed?

Comment 2 Michael Stahnke 2008-11-13 20:19:47 UTC
That's probably all that's needed.  I'll try to bump tonight.

Comment 3 Michael Stahnke 2008-11-13 21:49:16 UTC
This is actually already built, it's just not in Stable.  Try the following.



yum --enablerepo='epel-testing' install rubygem-rake

Comment 4 Joshua Baker-LePain 2008-11-13 21:56:32 UTC
Looks great -- thanks for the quick response!