RubyMine-没有为项目配置Ruby解释器 [英] RubyMine - No Ruby interpreter configured for the project

查看:444
本文介绍了RubyMine-没有为项目配置Ruby解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我转到设置-Ruby SDK和Gems",然后选择C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe.

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.

我单击OK,仍然高亮显示语法,它仍然认为它没有Ruby解释器.

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

我试图使缓存无效,甚至下载新版本的ruby并将其指向新的二进制ruby.exe文件.

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

推荐答案

将项目移至另一台运行不同版本JRuby的PC时,我遇到了此问题.分辨率:

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

  1. 关闭RubyMine
  2. 删除.idea/文件夹
  3. 在RubyMine中重新打开项目
  1. close RubyMine
  2. delete .idea/ folder
  3. re-open project in RubyMine

这篇关于RubyMine-没有为项目配置Ruby解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆