2011-12-30 45 views
0

当集锦创建一个新的Rails项目,下面的消息来了:的Aptana Studio的3不能与RailsInstaller工作2.0.1

sh: /c/RailsInstaller/Ruby1.9.2/bin/rails: C:/Projects/railsinstaller/stage/Ruby1.9.2/bin/ruby.exe: bad interpreter: No such file or directory 

在钢轨RailsInstaller红宝石/ bin文件夹中看到一只蝙蝠文件(Rails.bat ),其包含:

@ECHO OFF 
IF NOT "%~f0" == "~f0" GOTO :WinNT 
@"ruby.exe" "C:/Projects/railsinstaller/stage/Ruby1.9.2/bin/rails" %1 %2 %3 %4 %5 %6 %7 %8 %9 
GOTO :EOF 
:WinNT 
@"ruby.exe" "%~dpn0" %* 

一个新的Rails项目可以不集锦创建,但使用它或类型的轨道在它的终端产生错误。

The "C:/Projects/railsinstaller/stage/Ruby1.9.2/bin" directoty doesn´t exists, so I´he changed all bat files to the correct one, plus I´m on Win7, so the code shound´t be running after all. That wrong dir is RailsINstaller problem, but after correcting it, Aptana still doesn´t work. 

ruby​​/bin在我的PATH变量中。

在此先感谢您的帮助。

回答