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.
I've consistently gotten the following error message when attempting to open a Ruby IRB window: <script>:0:in `require': no such file to load -- irb (LoadError) from <script>:0 ...internal jruby stack elided... from org.jruby.Ruby.eval(Ruby.java:274) from org.jruby.Ruby.evalScript(Ruby.java:267) from org.netbeans.modules.ruby.rubyproject.IrbTopComponent$2.run(IrbTopComponent.java:267) from org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) from org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
*** Issue 103293 has been marked as a duplicate of this issue. ***
probably some regression in jruby??
Fixed; JRuby recently stopped registering load paths etc. if the JRuby interpreter is running with security restrictions - which it simply defines as having any security manager installed (which NetBeans does). This breaks IRB, which no longer can find the irb.rb file in the ruby libraries. Fixed by patching Ruby (the version running in the IDE, not the standalone interpreter used for running user programs, Rails etc.) to remove the security manager check. IDE:------------------------------------------------- IDE: [5/17/07 3:52 PM] Committing started cvs server: scheduling file `Ruby.java' for addition cvs server: use 'cvs commit' to add this file permanently RCS file: /cvs/scripting/ruby/jruby/patched_files/org/jruby/Ruby.java,v done Checking in Ruby.java; /cvs/scripting/ruby/jruby/patched_files/org/jruby/Ruby.java,v <-- Ruby.java initial revision: 1.1 done IDE: [5/17/07 3:52 PM] Committing finished
*** Issue 104176 has been marked as a duplicate of this issue. ***
thanks.verified in 070518
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.