Issue #4063 has been updated by James Turnbull.

Category set to testing
Status changed from Ready for Testing to Closed
Target version set to 0.25.6

Pushed in commit:"e4b3aacd7856c8221f08771c3b7066094b898a3f" in branch 0.25.x
----------------------------------------
Bug #4063: unguarded ActiveRecord dependency causes rake spec to fail
http://projects.puppetlabs.com/issues/4063

Author: Rein Henrichs
Status: Closed
Priority: Normal
Assigned to: 
Category: testing
Target version: 0.25.6
Affected version: 0.25.5
Keywords: 
Branch: feature/0.25.x/4063-unguarded-activerecord-dependency


`rake spec` fails when "activerecord" gem is not installed (see backtrace 
below). This effects both 0.25.x and master.

$ rake spec
(in /Users/reinh/code/puppetlabs/puppet)
./spec/unit/rails.rb:51: uninitialized constant ActiveRecord (NameError)
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:183:in
 `module_eval'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:183:in
 `subclass'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:55:in
 `describe'
        from ./spec/unit/rails.rb:50
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:183:in
 `module_eval'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:183:in
 `subclass'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:55:in
 `describe'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/example/example_group_factory.rb:31:in
 `create_example_group'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/dsl/main.rb:28:in
 `describe'
        from ./spec/unit/rails.rb:6
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in
 `load'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:15:in
 `load_files'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in
 `each'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/example_group_runner.rb:14:in
 `load_files'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/options.rb:133:in
 `run_examples'
        from 
/Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/lib/spec/runner/command_line.rb:9:in
 `run'
        from /Users/reinh/.rvm/gems/ruby-1.8.7-p249/gems/rspec-1.3.0/bin/spec:5



-- 
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