RubyMine - No Ruby interpreter configured for the project

前端 未结 3 1463
慢半拍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:08

    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

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-02-13 11:20

    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
    0 讨论(0)
提交回复
热议问题