RubyMine - No Ruby interpreter configured for the project

点点圈 提交于 2019-12-03 12:00:36
Bharath Kumar

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

I had this problem when git somehow got confused about whether files in RubyMine's .idea directory were in git or not. Doing things like git stash would clobber my RubyMine configuration. I fixed it by recloning my repo, copying .idea from the old clone to the new, and fixing my RubyMine configuration. After that it stayed fixed.

No idea whether that's why you're having this problem, but I'd look in to whether RubyMine is having any trouble writing files to .idea, or whether anything is changing those files behind RubyMine's back.

Highly suggest if you're going to check in the .idea folder (I would ignore it personally) try using this gitignore to configure it correctly: https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!