Bug 1080855 - rubygem-mechanize requires a higher version of rubygem-mime-types than supplied
Summary: rubygem-mechanize requires a higher version of rubygem-mime-types than supplied
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-mechanize
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-26 09:00 UTC by Egon Kastelijn
Modified: 2014-04-14 22:43 UTC (History)
2 users (show)

Fixed In Version: rubygem-mechanize-2.7.3-2.fc20
Clone Of:
Environment:
Last Closed: 2014-04-14 22:43:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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