RubyMine - No Ruby interpreter configured for the project

sarink picture sarink · Jun 27, 2014 · Viewed 13.3k times · Source

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.

Answer

Bharath picture Bharath · Sep 26, 2014

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