Bug 552972
| Summary: | actionpack 2.3.4 broken with rack 1.1.0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mamoru TASAKA <mtasaka> |
| Component: | rubygem-actionpack | Assignee: | Mamoru TASAKA <mtasaka> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 12 | CC: | lutter, mastahnke, mbabej, mfojtik, sseago, thomas.vonsteiger, vanmeeuwen+fedora |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-rack-1.0.0-3.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-12 04:25: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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 530193, 543549 | ||
Well, applied a workaround on rubygem-actionpack-2.3.4-4.fc13 If you find some bugs and have solution for them, please feel free to modify this, thank you. Once closing. Hi, i found the same problem in rubygem-actionpack-2.3.4-3.fc12
workspace]$ rails test
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error': RubyGem version error: rack(1.1.0 not ~> 1.0.0) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:261:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:68:in `gem'
from /usr/bin/rails:18
With workaround in /usr/lib/ruby/gems/1.8/specifications/actionpack-2.3.4.gemspec
from:
"s.add_dependency(%q<rack>, ["~> 1.0.0"])"
to:
"s.add_dependency(%q<rack>, [">= 1.0.0"])"
and:
cd /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.4
gem build ../../specifications/actionpack-2.3.4.gemspec
WARNING: deprecated autorequire specified
Successfully built RubyGem
Name: actionpack
Version: 2.3.4
File: actionpack-2.3.4.gem
gem install actionpack-2.3.4.gem
Successfully installed actionpack-2.3.4
1 gem installed
Installing ri documentation for actionpack-2.3.4...
Installing RDoc documentation for actionpack-2.3.4...
workspace]$ rails test
create
create app/controllers
create app/helpers
create app/models
create app/views/layouts
...
Are we get a new version for f12?
Thank you,
Thomas
This is on F12, right ? The issue to me is that rack should have never been updated to 1.1.0 in F12. Any chance we can downgrade it again ? Reopening for F-12. (In reply to comment #4) > This is on F12, right ? The issue to me is that rack should have never been > updated to 1.1.0 in F12. Any chance we can downgrade it again ? Introducing Epoch? Yes, F12. (In reply to comment #5) > Reopening for F-12. > > (In reply to comment #4) > > This is on F12, right ? The issue to me is that rack should have never been > > updated to 1.1.0 in F12. Any chance we can downgrade it again ? > > Introducing Epoch? +1 So as kanarip agreed to downgrade rack to 1.0.0 on F-12, can we do action now? Hello, please downgrade rack; rubygem-haml can't build in F12 until this is fixed. Thanks Hi, There are also other gems/tests which actually failing due to rack-1.1.0. I'm voting for downgrade. Michal rubygem-rack-1.0.0-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rubygem-rack-1.0.0-3.fc12 rubygem-rack-1.0.0-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Well, on rawhide rack was updated to 1.1.0 recently, however [tasaka1@localhost ~]$ irb irb(main):001:0> require "rubygems" => true irb(main):002:0> gem "actionpack" Gem::LoadError: RubyGem version error: rack(1.1.0 not ~> 1.0.0) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:261:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:68:in `gem' from (irb):2 from :0 Even after I changed rack dependency from "~> 1.0.0" to ">= 1.0.0" in Rakefile and lib/action_controller.rb in actionpack 2.3.4 gem, "$ rake test" for actionpack now fails with 2358 tests, 10700 assertions, 7 failures, 70 errors rake aborted! Version-Release number of selected component (if applicable): rubygem-actionpack-2.3.4-3.fc12.noarch rubygem-rack-1.1.0-1.fc13.noarch How reproducible: 100% Steps to Reproduce: 1. see above 2. 3.