Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449490 - dev-util/aruba-0.5.0 should depend on >=dev-ruby/rspec-2.7
Summary: dev-util/aruba-0.5.0 should depend on >=dev-ruby/rspec-2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-12-31 17:42 UTC by W. Trevor King
Modified: 2013-01-01 10:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Bump rspec dependency to >= 2.7.0 (bump-rspec-version.patch,297 bytes, patch)
2012-12-31 17:52 UTC, W. Trevor King
Details | Diff
emerge --info (info,4.91 KB, text/plain)
2012-12-31 17:55 UTC, W. Trevor King
Details

Note You need to log in before you can comment on or make changes to this bug.
Description W. Trevor King 2012-12-31 17:42:23 UTC
I emerged dev-util/aruba on a mostly `amd64` system, and it crashed with an error message requesting rspec-expectations (>= 2.7.0), but versions more recent than 2.6.0 are keyworded `~amd64`.

The version 

Reproducible: Always

Steps to Reproduce:
1. Emerge aruba with a stable rspec
2. Run `ruby -e "require 'aruba/cucumber'"`
Actual Results:  
/usr/lib64/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find rspec-expectations (>= 2.7.0) amongst […rspec-2.6.0, rspec-core-2.6.4, rspec-expectations-2.6.0, rspec-mocks-2.6.0,…] (Gem::LoadError)


Expected Results:  
No error
Comment 1 W. Trevor King 2012-12-31 17:52:46 UTC
Created attachment 333874 [details, diff]
Bump rspec dependency to >= 2.7.0

Untested, but I expect this will do it.  If I emerge =dev-ruby/rspec-2.12.0 (which pulls in =dev-ruby/rspec-expectations-2.12.0), the problem goes away.

Or at least, the problem is different.  Now I'm getting:

$ ruby -e "require 'aruba/cucumber'"
/usr/lib64/ruby/gems/1.8/gems/aruba-0.5.0/lib/aruba/cucumber/hooks.rb:1: undefined method `Before' for main:Object (NoMethodError)
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from /usr/lib64/ruby/gems/1.8/gems/aruba-0.5.0/lib/aruba/cucumber.rb:2
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:60:in `gem_original_require'
        from /usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:60:in `require'
        from -e:1

But that looks like a different issue, and my project's `rake features` seems to work.  Probably just a problem with my "test" ;).
Comment 2 W. Trevor King 2012-12-31 17:55:23 UTC
Created attachment 333876 [details]
emerge --info
Comment 3 Hans de Graaff gentoo-dev Security 2013-01-01 10:41:11 UTC
This was already fixed for aruba 0.5.1, so I've just removed 0.5.0. I've also made the 0.5.1 dependencies more precise.

Thanks for the report.