Aptana中的Ruby / Rails调试 - 未找到rake

时间:2011-12-01 03:00:15

标签: ruby-on-rails-3 rake aptana

我今天非常兴奋,因为今天我发现了一个在互联网历史上没有人发现的错误。

我正在尝试学习如何使用Aptana Studio 3进行调试,所以在我的应用程序的根目录中,我右键单击config.ru并单击调试服务器,这是在控制台上生成的内容:

  • 列出项目

    • 快速调试器(ruby-debug-ide 0.4.16,ruby-debug-base 0.11)侦听127.0.0.1:50122

    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in`to_specs'

    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:451:在`block in find_in_unresolved'
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:451:in"map'
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:451:在`find_in_unresolved'
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:43:in"requiret“
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/dsl.rb:1:in“
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/definition.rb:17:in,build'
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:138:in“definition”
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:126:in"load'
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:110:在`setup'
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/setup.rb:17:in“
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in"requiret“
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in rescue in require'
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in"requiret“
    • C:/triton2/config/boot.rb:6:在`'
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in"requiret“
    • c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in"requiret“
    • C:/ triton2 / script / rails:5:在`'
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:112:in`debug_load'
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/lib/ruby-debug-ide.rb:112:in“debug_program”
    • c:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.16/bin/rdebug-ide:87:in“
    • c:/ Ruby192 / bin / rdebug-ide:19:在'load'
    • c:/ Ruby192 / bin / rdebug-ide:19:in''

    • 未捕获的异常:在[]

    • 中找不到rake(> = 0.8.1)

另外,在终端我得到了这个:

  

David @ DAVID-PC / c / triton2

     

gem install rake   成功安装了rake-0.9.2.2   安装1个宝石   为rake-0.9.2.2安装ri文档......   为rake-0.9.2.2安装RDoc文档......

0 个答案:

没有答案