2013-07-22 65 views
0

我在Aptana Studio 3中使用ruby-debug-ide構建:3.4.1.201306062137。Aptana ruby​​-debug-ide crash

滑軌3.2.13

紅寶石1.9.3p392(2013年2月22日)[I386-的mingw32]

紅寶石調試-IDE 0.4.17,紅寶石調試base19x 0.11)

有時(經常)當我刷新網頁瀏覽器(集錦服務器在調試模式乳寧),服務器崩潰,出現錯誤:

[2013-07-22 13:04:05] An error occurred while processing the invoke block for the command ERb Content Assist in C:\Users\Rimantas\Aptana Rubles\rails.ruble\commands\content_assist.rb: (NoMethodError) undefined method `getInstance' for Java::ComAptanaIndexCore::IndexManager:Class 
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `getInstance' for Java::ComAptanaIndexCore::IndexManager:Class 
    at Rails::ContentAssistant.index_manager(C:/Users/Rimantas/Aptana Rubles/rails.ruble/lib/content_assistant.rb:87) 
    at Rails::ContentAssistant.gem_indices(C:/Users/Rimantas/Aptana Rubles/rails.ruble/lib/content_assistant.rb:79) 
    at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) 
    at org.jruby.RubyProc.call(org/jruby/RubyProc.java:229) 
    at Java::JavaUtil::Collection.each(D:/IDE/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/shared/builtin/java/java.util.rb:7) 
    at org.jruby.RubyEnumerable.collect(org/jruby/RubyEnumerable.java:706) 
    at Rails::ContentAssistant.gem_indices(C:/Users/Rimantas/Aptana Rubles/rails.ruble/lib/content_assistant.rb:79) 
    at Rails::ContentAssistant.gem_and_project_indices(C:/Users/Rimantas/Aptana Rubles/rails.ruble/lib/content_assistant.rb:74) 
    at Rails::ContentAssistant.assist(C:/Users/Rimantas/Aptana Rubles/rails.ruble/lib/content_assistant.rb:31) 
    at #<Class:0x1013eaebb>.define_content_assist(C:\Users\Rimantas\Aptana Rubles\rails.ruble\commands\content_assist.rb:7) 
    at org.jruby.RubyProc.call(org/jruby/RubyProc.java:274) 
    at org.jruby.RubyProc.call(org/jruby/RubyProc.java:233) 

如何修復調試器?

回答

0

使用其他Web服務器可解決此問題。將gem'thin'添加到您的gem文件並運行bundle install。