Bug 720227 - rubygem-railties-3.0.5-2 completely breaks Rails applications
Summary: rubygem-railties-3.0.5-2 completely breaks Rails applications
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-railties
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-11 04:41 UTC by Miloslav Trmač
Modified: 2011-07-22 19:27 UTC (History)
2 users (show)

Fixed In Version: rubygem-railties-3.0.5-3.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-22 19:27:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miloslav Trmač 2011-07-11 04:41:37 UTC
Version-Release number of selected component (if applicable):
rubygem-railties.noarch 0:3.0.5-2.fc15                                        

Steps to Reproduce:
1. rails new foo
2. cd foo
3. rails server
  
Actual results:
> /usr/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails/application.rb:37: uninitialized constant Rails::Application::Rake (NameError)
> 	from /usr/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails.rb:9:in `require'
>	from /usr/lib/ruby/gems/1.8/gems/railties-3.0.5/lib/rails.rb:9
...


Additional info:
Downgrading to rubygem-railties.noarch 0:3.0.5-1.fc15 allows the application to start.

Comment 1 Fedora Update System 2011-07-11 08:35:13 UTC
rubygem-railties-3.0.5-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/rubygem-railties-3.0.5-3.fc15

Comment 2 Vít Ondruch 2011-07-11 08:41:57 UTC
Thank you for the report. Unfortunately the patch which was supposed to fix the rhbz#715385 was not the best one. I have taken the upstream patch [1] and it seems it fixes the issue.

[1] https://github.com/rails/rails/commit/8b719cf3f73cbce78506e3a42ed01b2c4314a70a#railties

Comment 3 Mo Morsi 2011-07-11 16:18:37 UTC
OK thanks for this Vit, I was using the upstream interim solution instead of the newer upstream codebase patch. See BZ#715385 (comment 5)

Comment 4 Fedora Update System 2011-07-12 05:22:33 UTC
Package rubygem-railties-3.0.5-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygem-railties-3.0.5-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/rubygem-railties-3.0.5-3.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-07-22 19:27:04 UTC
rubygem-railties-3.0.5-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.