Issue #4140 has been reported by David Schmitt.

----------------------------------------
Bug #4140: rake spec fails to find vendor installed rspec library
http://projects.puppetlabs.com/issues/4140

Author: David Schmitt
Status: Unreviewed
Priority: Low
Assigned to: 
Category: 
Target version: 
Affected version: 2.6alpha1
Keywords: 
Branch: 


    da...@kvmhost:~/puppet/puppet$ dpkg -l librspec-ruby\*
    Desired=Unknown/Install/Remove/Purge/Hold
    | 
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
    ||/ Name                     Version                  Description
    
+++-========================-========================-================================================================
    ii  librspec-ruby            1.3.0-2                  Behaviour Driven 
Development framework for Ruby
    ii  librspec-ruby1.8         1.3.0-2                  Behaviour Driven 
Development framework for Ruby 1.8
    da...@kvmhost:~/puppet/puppet$ rake spec
    (in /home/david/puppet/puppet)
    /usr/lib/ruby/1.8/rubygems.rb:578:in `report_activate_error': Could not 
find RubyGem rspec (>= 1.2.9) (Gem::LoadError)
    from /usr/lib/ruby/1.8/rubygems.rb:134:in `activate'
    from /usr/lib/ruby/1.8/rubygems.rb:49:in `gem'
    from ./spec/unit/ssl/../../spec_helper.rb:24
    from ./spec/unit/ssl/key_spec.rb:3:in `require'
    from ./spec/unit/ssl/key_spec.rb:3
    from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:15:in `load'
    from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:15:in 
`load_files'
    from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:in `each'
    from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:in 
`load_files'
    from /usr/lib/ruby/1.8/spec/runner/options.rb:133:in `run_examples'
    from /usr/lib/ruby/1.8/spec/runner/command_line.rb:9:in `run'
    from /usr/bin/spec:3
    da...@kvmhost:~/puppet/puppet$
    
removing the package and installing the gem did work.

This is a lenny install with squeeze's librspec-ruby1.8 and the current master.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to