我已经安装了:-Aptana studio v 3.0.9 -Ruby 192p290 -DevKit -Git
我正在使用 aptana 创建 rails 项目并rails s
从其终端运行命令;直到昨天一切正常。我尝试做同样的事情,但在处理任何 rails 命令时出现错误,例如:
导轨新。或 gem -v
错误是:
$ rails new .
C:\Ruby192\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby192/bin/rails (LoadError)
$ rails -v
C:\Ruby192\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby192/bin/rails (LoadError)
$ gem -v
C:\Ruby192\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby192/bin/gem (LoadError)
我不知道发生了什么,我用谷歌搜索了这个问题并按照每条可以帮助我的说明进行操作,但同样的问题仍然存在。我还卸载了 Aptana、Ruby、DevKit 和 Git 并重新安装了它们。
请注意,在 Aptana 之外一切正常,因此环境变量路径没有问题,Aptana 本身的错误。我也使用这里的说明。
我的系统是 Windows Vista
自上次 aptana 以来,我做的唯一一件新事情就是使用安装了 virtualbox 以在 windows 中运行 ubuntu 的 rails。
有什么想法可以解决这个问题吗?