Disable Spring and Zeus in RubyMine

Hi,

I was wondering if there was a way to stop RubyMine from running everything with Spring and/or Zeus?


When i try to run a single spec (using ctrl+shift+F10) it attempts to run it with Spring at which point I need to edit the configuration to run without and then re-run it. I can disable Spring for individual or pre-configured RSpec runs but not by default.

Everything was fine before I updated but now it all needs spring or zeus.

Thank you for your time,

John

11 comments
Comment actions Permalink

What about removing spring from your Gemfile?

Oleg.

0
Comment actions Permalink

Spring wasn't in the Gemfile, it just forces the use of Spring whether I have it in there or not.

If I try to add Zeus to the Gemfile, it still tries to use Spring by default (like when running a single example with ctrl+shift+F10) but my rake tasks are run with Zeus. However now when I remove Zeus again, all my rake tasks (run from RubyMine) still try to go through Zeus.

I solved the Zeus problem by making a fresh clone of the project from the repo and opening that (Im assuming it's because the repo doesn't track the .idea folder). However all the rake tasks are still being run with Spring.

I have now gotten it all to work(ish) with Spring so it's no longer a problem for me, however it is annoying that it's been forced upon me and that I cannot simply turn it off.

If there is a way to do so, I would really like to know =)

Thank you for your time,

J

0
Comment actions Permalink

Hi,

what version of RubyMine are you using?
What kind of project do you have?  If it is rails 4.1 then by default all binaries are springified and this may cause executing using spring.

Regards, Oleg.

0
Comment actions Permalink

I have:

gem 'rails', '4.0.1'

and

RubyMine version 6.3.3 -> Build #RM-135.1104

The project is also using Grape with Rails in case that changes anything.

John

0
Comment actions Permalink

Hmm, it looks like a bug for me.  Could you please share a test project which demonstrates the problem?

Regards, Oleg.

0
Comment actions Permalink

Hey

Do you still need a sample app to test this ? I just tested it yesterday and this problem is reproducible.

Regards,

0
Comment actions Permalink

Hi,

Oleg is on vacation, but he will be glad to continue working on the problem when he return. So please provide the app to reproduce the problem.

0
Comment actions Permalink

I'm sorry, I have been busy with my work.

I could not manage to reproduce this in another app, I meant to look into it more but sort of forgot. A co-worker mentioned that it may have something to do with the fact that the project uses Grape.

I'm glad someone else managed to do it though since it is still a problem that I "work around" by amongst other things constantly stopping spring =)

0
Comment actions Permalink

Hi,

I do need the test project and steps to reproduce the problem.

Regards, Oleg.

0
Comment actions Permalink

Hey

I found a workaround for the issue or rather found the root of the issue. When spring is installed in vendor/bundle RubyMine is unable to pick it up. I installed the gem as root, i.e. system wide and RubyMine worked fine. To test it, try using an empty rails 4 project with gems installed in vendor/bundle.

Please let me know if you are still not able to reproduce the issue.

By the way Oleg, about this vendor/bundle I think we have already discussed on a bug report. I think solving this and solving that might be related.

Regards,
Amitav

0
Comment actions Permalink

Hi,

finally back from vacation and fixed all "hot issues" and now have time to continue the dicession.
I'm not sure what you have suggested :(  We have been talking about Zeus and you suggest to install Spring (perhaps my brains is too tired though ;)
What you have tried to start in this configuration to verify that Spring is not used?

Regards, Oleg.

0

Please sign in to leave a comment.