Bug 1080855

Summary: rubygem-mechanize requires a higher version of rubygem-mime-types than supplied
Product: [Fedora] Fedora Reporter: Egon Kastelijn <redhat2>
Component: rubygem-mechanizeAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: lnie, mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-mechanize-2.7.3-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-14 22:43:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Egon Kastelijn 2014-03-26 09:00:21 UTC
Description of problem:
The RPM for Mechanize in Fedora 20 (rubygem-mechanize-2.7.3-1.fc20.noarch) requires a higher version rubygem-mime-types.
The supplied version is rubygem-mime-types-1.19-4.fc20.noarch, but it should be ~> 2.0

Version-Release number of selected component (if applicable):
rubygem-mechanize-2.7.3-1.fc20.noarch
rubygem-mime-types-1.19-4.fc20.noarch

How reproducible:
Always

Steps to Reproduce:
1. Do a clean install of Fedora 20 (desktop)
2. yum install rubygem-mechanize rubygem-mime-types
3. irb
4. require 'mechanize'

Actual results:
Gem::LoadError: Could not find 'mime-types' (~> 2.0) - did find: [mime-types-1.19]
	from /usr/share/rubygems/rubygems/dependency.rb:298:in `to_specs'
	from /usr/share/rubygems/rubygems/specification.rb:1268:in `block in activate_dependencies'
	from /usr/share/rubygems/rubygems/specification.rb:1257:in `each'
	from /usr/share/rubygems/rubygems/specification.rb:1257:in `activate_dependencies'
	from /usr/share/rubygems/rubygems/specification.rb:1239:in `activate'
	from /usr/share/rubygems/rubygems.rb:194:in `rescue in try_activate'
	from /usr/share/rubygems/rubygems.rb:191:in `try_activate'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:144:in `require'
	from (irb):1
	from /usr/bin/irb:12:in `<main>'


Expected results:
I expected mechanize to load normally

Additional info:
There is a newer version of the mime-types available upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=907393

Comment 1 Egon Kastelijn 2014-03-26 09:03:27 UTC
Work-around: sudo gem install mime-types

Comment 2 Fedora Update System 2014-03-26 17:14:45 UTC
rubygem-mechanize-2.7.3-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/rubygem-mechanize-2.7.3-2.fc20

Comment 3 lnie 2014-03-27 05:50:31 UTC
rubygem-mechanize-2.7.3-2.fc20 works

Comment 4 Fedora Update System 2014-03-28 03:19:25 UTC
Package rubygem-mechanize-2.7.3-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rubygem-mechanize-2.7.3-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4457/rubygem-mechanize-2.7.3-2.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-04-14 22:43:30 UTC
rubygem-mechanize-2.7.3-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.