[DRE-maint] Bug#741331: ruby-rspec-puppet - Fails to find rspec: Could not find rspec (>= 2.0.0) amongst [] (Gem::LoadError)
Thomas Bechtold
toabctl at debian.org
Sat Mar 15 07:30:42 UTC 2014
Package: ruby-rspec-puppet
Tags: unreproducible
Followup-For: Bug #741331
I'm unable to reproduce the problem. I tried the following steps:
* puppet module generate toabctl-testmodule
* cd toabctl-testmodule/
* mkdir spec/defines/
* cat > spec/defines/test_spec.rb << EOF
require 'spec_helper'
describe 'test' do
end
EOF
* rm spec/spec_helper.rb
* cat > spec/spec_helper.rb << EOF
require 'rubygems'
require 'puppetlabs_spec_helper/module_spec_helper'
EOF
* cat > Rakefile << EOF
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
EOF
When I run rspec, I get:
$ rspec
No examples found.
Finished in 0.00007 seconds
0 examples, 0 failures
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ruby-rspec-puppet depends on:
ii puppet-common 3.4.3-1
ii ruby 1:1.9.3.4
ii ruby-rspec 2.14.1-1
ii ruby1.9.1 [ruby-interpreter] 1.9.3.484-2
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