[DRE-maint] Bug#741331: ruby-rspec-puppet - Fails to find rspec: Could not find rspec (>= 2.0.0) amongst [] (Gem::LoadError)

Bastian Blank bastian.blank at credativ.de
Tue Mar 11 10:36:43 UTC 2014


Package: ruby-rspec-puppet
Version: 1.0.1-1
Severity: important

A minimal rspec/puppet setup fails to find rspec:

| $ rspec                 
| /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rspec (>= 2.0.0) amongst [] (Gem::LoadError)
|         from /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
|         from /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'
|         from /usr/lib/ruby/vendor_ruby/puppetlabs_spec_helper/puppet_spec_helper.rb:10:in `<top (required)>'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
|         from /usr/lib/ruby/vendor_ruby/puppetlabs_spec_helper/module_spec_helper.rb:2:in `<top (required)>'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
|         from …/spec/spec_helper.rb:2:in `<top (required)>'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
|         from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
|         from …/spec/defines/grub2_spec.rb:1:in `<top (required)>'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `block in load_spec_files'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `each'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load_spec_files'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
|         from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in autorun'
| $ cat spec/defines/grub2_spec.rb 
| require 'spec_helper'
| 
| describe 'sysinit::grub2' do
| 
| end
| $ cat spec/spec_helper.rb 
| require 'rubygems'
| require 'puppetlabs_spec_helper/module_spec_helper'
| $ cat Rakefile 
| require 'rubygems'
| require 'puppetlabs_spec_helper/rake_tasks'

Bastian

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ruby-rspec-puppet depends on:
ii  ruby                          1:1.9.3
ii  ruby-rspec                    2.14.1-1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-1

ruby-rspec-puppet recommends no packages.

ruby-rspec-puppet suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list