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.
Try to add "/" as an interpreter. RubyInstallation.getRubyHome() is not ready for it. Probably some sanity check whether interpreter is valid should be done directly in the panel. No directly related = getRubyHomeUrl() does not handle (getRubyHome() == null) case => another possible NPE.
Is this really a P2? A one-character path to a Ruby interpreter seems unlikely for real-world scenarios. Agree to fix it, but I don't think it's P2.
The reason is that once it is done it is really hard to get rid of it (impossible? - would be P1 ;) ). Since it is thrown every time you invoke the Options.
I see; this happens because as of recently the options are calling setRuby for every keystroke in the options dialog (to synchronize the fast debugger option?), so "/" is entered as Ruby while you're editing. Fixed: IDE:------------------------------------------------- IDE: [6/28/07 8:05 AM] Committing started Checking in RubyInstallation.java; /cvs/scripting/ruby/platform/src/org/netbeans/api/ruby/platform/RubyInstallation.java,v <-- RubyInstallation.java new revision: 1.31; previous revision: 1.30 done IDE: [6/28/07 8:05 AM] Committing finished
> to synchronize the fast debugger option? Yup, exactly. From RubyDebuggerPanel: // FIXME: we need to save interpreter until there is a // possibility to have either more RubyInstallation instances or // to operate on arbitrary Gem repository I need to work with the right gem repository, when interpreter is changed. v/c
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.