2011-11-27 92 views
5

事實是,我是Ruby on Rails開發新手。 不,我不能安裝在寶石上的Aptana工作室安裝Ruby調試-IDE 3.錯誤:安裝ruby-debug-ide

gem install ruby-debug-ide 
Temporarily enhancing PATH to include DevKit... 
Building native extensions. This could take a while... 
ERROR: Error installing ruby-debug-ide: 
     ERROR: Failed to build gem native extension. 

     c:/Ruby193/bin/ruby.exe mkrf_conf.rb 
Building native extensions. This could take a while... 


Gem files will remain installed in c:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debu 
g-ide-0.4.16 for inspection. 
Results logged to c:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/ext/ 
gem_make.out 

有人能幫助我嗎?

+0

TL;博士:是什麼讓不同的是THI s命令:'gem install ruby​​-debug-ide --platform = ruby​​ --pre' –

回答

9

因爲它似乎你已經安裝的devkit,運行此命令

gem install ruby-debug-ide --platform=ruby --pre 

正如該文章中提到,它是固定在紅寶石調試IDE

編輯的尚未發佈版中的錯誤:

這似乎是工作(Windows 7的64位):

gem install ruby-debug-ide --pre 

gem install ruby-debug-base19x --pre 
+0

我已經使用終端安裝了gem。如果我使用Debug運行運行rb文件,那麼我的代碼仍然不會停在斷點上。但我在控制檯中有以下消息:Fast Debugger(ruby-debug-ide 0.6.0,debase 0.2.1,支持文件過濾)在127.0.0.1:54292上偵聽 –