This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot generate RDoc for Ruby application | ||
---|---|---|---|
Product: | ruby | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Platform | Assignee: | Martin Krauskopf <mkrauskopf> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stack trace
Stack trace - generate RDoc with native Ruby |
Description
Jiri Skrivanek
2007-04-12 15:49:16 UTC
Created attachment 40832 [details]
Stack trace
This exception is coming from JRuby itself (in a separate process) running RDoc, not the IDE. I assume that if you switch to native Ruby it works? I'm not sure what the problem could be - this works for me, even with JRuby. Is it easy to reproduce? Is it a Windows thing? It is easy to reproduce on my windows. At the time I can't test it on other OS. If I switch to native Ruby, it throws another exception. Created attachment 40955 [details]
Stack trace - generate RDoc with native Ruby
I've checked in a fix for the exception you get with native ruby; the issue there was a missing bundle.properties entry for the error message you get when "rdoc" is missing from your Ruby installation. I still don't know why rdoc would fail with JRuby. I tried netbeans-rubyide-hudson-985.zip and the same exception (missing bundle) is thrown for native Ruby and ArrayIndexOutOfBoundsException for JRuby. Oooops. I checked the Bundle file into the wrong directory yesterday. Well, I was sick and running a high fever! I'd better go back and check my other checkin logs :) I have still not addressed the exception thrown by JRuby itself; I'm not sure what that's all about. I may need the JRuby guys to take a look, but first I'll upgrade the bundled JRuby snapshot to a more recent version. RDoc generation works fine with JRuby now. It works with JRuby but it doesn't work with native ruby on my windowsXP. I have Ruby 1.8.6 and I have set ruby interpreter to D:\Development\Ruby\ruby-1.8.6-win\bin\ruby.exe Next to it exists rdoc.bat. But if I choose 'Generate RDoc' on project node it shows this error message: No valid installation of null Configure it under options|Miscellaneous|Ruby Installation Reassigning this issue to newly created 'ruby' component. I just tried this on a current build on Windows XP, and it worked fine. Is it still broken for you? It works for me in build 200708060257. I am sorry but it still doesn't work with native Ruby as described in desc10. I have similar problem with my custom prefixed Ruby installation. Fixed. Thank Jirko for helping with the off-line culprit-confirmation. platform/src/org/netbeans/api/ruby/platform/RubyInstallation.java; new revision: 1.29; previous revision: 1.28 Verified. |