4 Replies Last post: Dec 9, 2013 9:27 PM by Christopher Stump  
Christopher  Stump Newbie 21 posts since
Nov 17, 2009
Currently Being Moderated

Dec 7, 2013 1:57 AM

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!

Oleg Sukhodolsky JetBrains 852 posts since
Apr 4, 2012
Currently Being Moderated
Dec 7, 2013 12:59 PM in response to: Christopher Stump
Re: Specs run in Bundler context despite template setttings

It looks like a bug for me

 

Oleg.

Oleg Sukhodolsky JetBrains 852 posts since
Apr 4, 2012
Currently Being Moderated
Dec 8, 2013 12:46 PM in response to: Christopher Stump
Re: Specs run in Bundler context despite template setttings

Yes, please file one.

 

Thanks in advance, Oleg.

More Like This

  • Retrieving data ...