[rspec-users] [Cucumber] gem missing dependencies

Kero van Gelder kero at chello.nl
Mon Apr 27 17:23:25 EDT 2009


Hi list & Clifford,

> > Looks like installing hoe (which brings in rubyforge and rake) solved the problem below.
> 
> I just fixed that:
> http://github.com/aslakhellesoy/cucumber/commit/23cbc9b6c54ebe1ecf568610c2696762f22f0b06

Thanks Aslak, that was quick, but...
I had to try that, and the 0.3.1 release made that very easy.
Didn't help.
looks like polyglot is the culprit, from some extra output I created from rubygems:

#<Gem::Specification:0xb7c92d60 @extensions=[], @summary="Allows custom language loaders for specified file extensions to be hooked into require", @version=#<Gem::Version "0.2.5">, @loaded_from="/var/lib/gems/1.8/specifications/polyglot-0.2.5.gemspec", @original_platform=nil, @post_install_message=nil, @description="Allows custom language loaders for specified file extensions to be hooked into require", @dependencies=[#<Gem::Dependency:0xb7c922fc @version_requirement=nil, @name="hoe", @version_requirements=#<Gem::Requirement:0xb7c922c0 @version=nil, @requirements=[[">=", #<Gem::Version "1.8.0">]]>, @type=:runtime>], @requirements=[], @test_files=["test/test_helper.rb", "test/test_polyglot.rb"], @require_paths=["lib"], @extra_rdoc_files=["History.txt", "License.txt", "Manifest.txt", "README.txt", "website/index.txt"], @date=Tue Mar 03 00:00:00 +0100 2009, @new_platform="ruby", @executables=[], @authors=["Clifford Heath"], @cert_chain=[], @name="polyglot", @required_rubygems_version=#<Gem::Requirement:0xb7c92b6c @version=nil, @requirements=[[">=", #<Gem::Version "0">]]>, @files=["History.txt", "License.txt", "Manifest.txt", "README.txt", "Rakefile", "config/hoe.rb", "config/requirements.rb", "lib/polyglot.rb", "lib/polyglot/version.rb", "log/debug.log", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/website.rake", "test/test_helper.rb", "test/test_polyglot.rb", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.rhtml"], @has_rdoc=true, @specification_version=2, @loaded=true, @signing_key=nil, @default_executable=nil, @email="cjheath at rubyforge.org", @required_ruby_version=#<Gem::Requirement:0xb7c92ce8 @version=nil, @requirements=[[">=", #<Gem::Version "0">]]>, @rdoc_options=["--main", "README.txt"], @bindir="bin", @rubygems_version="1.2.0", @homepage="http://polyglot.rubyforge.org", @platform="ruby", @autorequire=nil, @rubyforge_project="polyglot">

[#<Gem::Dependency:0xb7c922fc @version_requirement=nil, @name="hoe", @version_requirements=#<Gem::Requirement:0xb7c922c0 @version=nil, @requirements=[[">=", #<Gem::Version "1.8.0">]]>, @type=:runtime>]

Clifford, let's take this off-list.

Bye,
Kero.

> > fresh install of debian lenny, upgraded to unstable.
> >
> > $ ruby -v
> > ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
> > $ gem -v
> > 1.2.0
> > $ gem list
> >
> > *** LOCAL GEMS ***
> >
> > builder (2.1.2)
> > cucumber (0.3.0)
> > diff-lcs (1.1.2)
> > polyglot (0.2.5)
> > rspec (1.2.4)
> > term-ansicolor (1.0.3)
> > treetop (1.2.5)
> > $ cucumber
> > /usr/lib/ruby/1.8/rubygems.rb:578:in `report_activate_error': Could not find RubyGem hoe (>= 1.8.0) (Gem::LoadError)
> >        from /usr/lib/ruby/1.8/rubygems.rb:134:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:158:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `each'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:158:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `each'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:158:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `each'
> >        from /usr/lib/ruby/1.8/rubygems.rb:157:in `activate'
> >        from /usr/lib/ruby/1.8/rubygems.rb:49:in `gem'
> >        from /var/lib/gems/1.8/bin/cucumber:18

___
How can I change the world if I can't even change myself?
  -- Faithless, Salva Mea


More information about the rspec-users mailing list