RubyMine - No Ruby interpreter configured for the project

前端 未结 3 1467
慢半拍i
慢半拍i 2021-02-13 10:37

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 li

3条回答
  •  误落风尘
    2021-02-13 11:12

    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.

提交回复
热议问题