Reputation: 993
for all rspec its not possible to enable to run rspec in context of bundle (bundle exec). Why?
Upvotes: 2
Views: 2073
Reputation: 668
I suspect this is because (by default) Rubymine is using the @global gemset in your Ruby SDK settings for your project (and the bundler gem is not installed in your @global gemset). I could be wrong.
If you use bundler and rvm (or rbenv I suspect), you can enable bundler by unchecking the "global" checkbox in your settings panel.
Upvotes: 2
Reputation: 684
Edit .idea/workspace.xml
and replace find: <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
and switch bundleExecEnabled
to true
Remember about closing the project before you start editing the XML.
Upvotes: 0
Reputation: 17647
It is enabled for me. Whenever weird stuff like this happens for me, I close all instances of RubyMine and delete the .idea directory from the project root. It will be recreated the next time you open the project. This .idea file corruption infrequently happens to me when I switch major project details, like Ruby versions.
Upvotes: 0