for all rspec its not possible to enable to run rspec in context of bundle (bundle exec). Why?
-
Try uninstalling all your Ruby installations except one, then get sure that the 'bundler' gem is installed for that Ruby installation and try again. – Jaime Hablutzel Jun 08 '17 at 18:41
3 Answers
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.

- 668
- 6
- 12
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.

- 17,411
- 10
- 63
- 88
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.

- 684
- 5
- 16