Rails console - Process finished with exit code 0

I can't start Rails Console from RubyMine 6.0.1 - it shows prompt >>> for a few seconds, and then exits with
Process finished with exit code 0
If I run the same command
C:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/Users/.../prj/script/rails console
from cmd.exe - it works ok.

Same happens with IRB Console.

At the same time Rails server started from RubyMine works for a long time without problems.

PS can't run RSpecs either...
Process finished with exit code 0
It runs from cmd with the same line (except for removing teamcity formatter references)

5 comments
Comment actions Permalink

Hi,

is the problem reproducible with RubyMine 6.0.2?
If it is please provide RM's logs (Help|Show Log in Explorer).
Also what versions of ruby and Windows are you using?

Regards, Oleg.

0
Comment actions Permalink

Same with 6.0.2
Log file attached.

If it's important - this project was created manually, and then opened in Ruby.


And one more problem - it keeps notifying me about missing gems, but can't install anything (and no info is available about what exactly is missing) - with the same error.



Attachment(s):
idea.log.zip
0
Comment actions Permalink

I'd start with checking that the correct sdk is used for the project.  After that I'd run bundle install (Tools|Bundler|Install) you also can open Gemfile to see which gems are missing.
And one more possible problem is that your project is on Dropbox and this may cause some problems too.

Regards, Oleg.

0
Comment actions Permalink

There is only one SDK available at my system, and it is selected in the Project options

Running Bundle Install from RubyMine gives the same
Process finished with exit code 0

Bundle install from command line runs normally, and all gems are installed and available.
It even runs from the terminal window of RubyMine (if I copy the line with parameters, which gives Process finished when called from menu, it runs ok from this Terminal)


PS I've just tried to create a new project from RubyMine (Rails app, not in a Dropbox) - and the same problem remains.

0
Comment actions Permalink

It looks like a bug for me :(
Could you please file a ticket about it.

Thanks in advance, Oleg.

0

Please sign in to leave a comment.