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?
Thanks!
请先登录再写评论。
It looks like a bug for me :(
Oleg.
Sorry it fell on your plate! Do you need me to open a ticket?
Yes, please file one.
Thanks in advance, Oleg.
This issue is being tracked as http://youtrack.jetbrains.com/issue/RUBY-14708