Specs run in Bundler context despite template setttings

I'm loving RM 6.0.1 with the Zeus integration. However, now when I run a spec via right-click --> Run... on the file I'm greeted with this error:

Testing started at 3:53 PM ...
/Users/cstump/.rvm/gems/ruby-1.9.3-p392@global/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': zeus is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
     from /Users/cstump/.rvm/gems/ruby-1.9.3-p392@nucore-open/bin/zeus:18:in `<top (required)>'
     from -e:1:in `load'
     from -e:1:in `<main>'

Process finished with exit code 1

To fix it I have to edit the generated configuration and uncheck the "Run the script in context of the bundle (bundle exec)" option under the Bundler tab. Easy enough, but a pain to do it repeatedly. Note that my Defaults --> Rspec template has this option unchecked.

Is this a bug or is there another way to ensure the specs aren't run in bundle context when using Zeus?



Please sign in to leave a comment.