我想弄清楚这个eclipse aptana插件(来自visual studio背景)。当我尝试调试我的项目如下:如何在eclipse上的rails上调试ruby aptana plugin
它抛出这个错误:
Unable to find 'rdebug-ide' binary script. May need to install 'ruby-debug-ide' gem, or may need to add your gem executable directory to your PATH (check location via 'gem environment').
这是gem environment
:
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2
- RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/Ruby192/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: C:/Ruby192/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/Ruby192/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- C:/Ruby192/lib/ruby/gems/1.9.1
- C:/Users/Lol/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
服务器可以启动,我可以去localhost:3000并加载。但我不明白这个错误或如何开始调试。任何想法有什么不对?
PS。来自asp.net mvc背景,我可以右键单击控制器文件夹并添加控制器。然后右键单击一个动作并为其生成一个视图。难道我不能在Ruby on Rails开发中做到这一点?
我有同样的问题和运行创业板安装正如salexander指出的那样可以解决问题并允许您正确调试Ruby代码。 – 2011-05-25 17:07:07
也解决了我的,10倍。注意:'sudo gem list'显示'ruby-debug-ide',但它不够用 - 使用'gem list'来查看所有安装好的gem,它不在那里。安装它没有'sudo',它的工作原理。 – 2011-12-08 10:06:57