2011-12-30 59 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變量中。

在此先感謝您的幫助。

回答