Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RubyMine - No Ruby interpreter configured for the project

Tags:

I go to Settings - Ruby SDK and Gems, and pick out C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe.

It loads up a bunch of gems on the right side, and looks like it's going to work.

I hit OK, and still have awful syntax highlighting and it still thinks it has no Ruby interpreter.

I've tried invalidating the cache, and even downloading a new version of ruby and pointing it to the new binary ruby.exe file.

like image 703
Kabir Sarin Avatar asked Jun 27 '14 14:06

Kabir Sarin


People also ask

Where can I find Ruby interpreter?

Invoke the Settings/Preferences dialog Ctrl+Alt+S and go to the Ruby SDK and Gems page. Choose the required Ruby interpreter. You can also choose the gemset for the RVM and rbenv version managers. For the selected Ruby interpreter/gemset, you can see the installed gems on the right.


1 Answers

I faced this problem when I moved my project to another PC running a different version of JRuby. resolution:

  1. close RubyMine
  2. delete .idea/ folder
  3. re-open project in RubyMine
like image 172
Bharath Avatar answered Sep 18 '22 23:09

Bharath