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.
It is not possible to list available gems. To reproduce: - open Tools|Ruby Gem Manager - click Install New but nothing is found (proxy is set properly) and the following message is in the description field: :[-1,-1]:[0,0]: D:\Development\builds\070327\netbeans\ruby1\jruby-0.9.8\bin\gem.bat:0: syntax error, expecting end-of-file '\n' ',' ';' '=' '?' '[' kRESCUE kENSURE kEND kELSIF kELSE kWHEN kAND kOR kIF_MOD kUNLESS_MOD kWHILE_MOD kUNTIL_MOD kRESCUE_MOD tPOW tCMP tEQ tEQQ tNEQ tGEQ tLEQ tANDOP tOROP tMATCH tNMATCH tDOT tDOT2 tDOT3 tLSHFT tRSHFT tCOLON2 tOP_ASGN tRPAREN tSTAR2 tAMPER2 tPERCENT tDIVIDE tPLUS tMINUS tLT tGT tPIPE tCARET tRCURLY but found tIDENTIFIER instead (SyntaxError) Build 20070327-0536, Ruby 0.47.0, JDK1.5.0_11, WindowsXP.
Can you attach your gem.bat file? D:\Development\builds\070327\netbeans\ruby1\jruby-0.9.8\bin\gem.bat
Created attachment 40042 [details] gem.bat
Actually, never mind - from inspecting the code I see the problem. On Windows it was trying to execute the gem.bat file as a Ruby script. Fixed in 0.48.
*** Issue 99111 has been marked as a duplicate of this issue. ***
Verified.
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.