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.
Operating system Windows XP 1. Download Ruby Only zip file from http://download.netbeans.org/netbeans/6.0/beta2/zip/ (NetBeans IDE 6.0 Beta 2 (Build 200710212201)). Unzip and run NetBeans from this unzipped version. 2. Choose File > New Project 3. Select Ruby and Select Ruby on Rails Application. Click Finish. The Generate Rails Project window opens and displays this message: :1: C:/Program Files/NetBeans Ruby 6.0 Beta 2/ruby1/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems.rb:461: syntax error, expecting '\n' ';' kCLASS kMODULE kDEF kUNDEF kBEGIN kRESCUE kENSURE kEND kIF kUNLESS kTHEN kELSIF kELSE kCASE kWHEN kWHILE kUNTIL kFOR kBREAK kNEXT kREDO kRETRY kRETURN kYIELD kSUPER kSELF kNIL kTRUE kFALSE kNOT kALIAS kDEFINED klBEGIN klEND k__LINE__ k__FILE__ tIDENTIFIER tFID tGVAR tIVAR tCONSTANT tCVAR tNTH_REF tBACK_REF tINTEGER tFLOAT tUPLUS tUMINUS tUMINUS_NUM tCOLON3 tLPAREN tLPAREN_ARG tLBRACK tLBRACE tSTAR tTILDE tBANG tSYMBEG tSTRING_BEG tXSTRING_BEG tREGEXP_BEG tWORDS_BEG tQWORDS_BEG but found end-of-file instead (SyntaxError) from :1:in `require' from :1 In the Projects window, the only folder that gets created for the project is the RSpec folder. I do not get this error using my Java EE NetBeans Beta 2, which I installed using the installer (not the zip) and for which I added the necessary plugins.
I cannot reproduce with the same environment. Please, could you check that the following file is correct? C:/Program Files/NetBeans Ruby 6.0 Beta 2/ruby1/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems.rb Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201) NetBeans home: C:\Program Files\NetBeans Ruby 6.0 Beta 2 Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) Userdir: C:\Documents and Settings\js103526\.netbeans\6.0beta2
When you say "check if the file is correct" can you explain how I do that. I verified that the file exists. There is a C:/Program Files/NetBeans Ruby 6.0 Beta 2/ruby1/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems.rb. It is 15 KB. Oddly, there is also a ubygems.rb file of 1 kb. But that is true for the Java EE download to which I installed the Ruby packs as well. And that version works ok. Product Version = NetBeans IDE 6.0 Beta 2 (Build 200710212201) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc. Java Home = C:\Program Files\Java\jdk1.6.0_02\jre System Locale; Encoding = en_US (nb); Cp1252 Home Directory = C:\Documents and Settings\HP_Administrator Current Directory = C:\Program Files\NetBeans Ruby 6.0 Beta 2 User Directory = C:\Documents and Settings\HP_Administrator\.netbeans\6.0Rubybeta2 I will download another zip and try it again.
Please, could you compare C:/Program Files/NetBeans Ruby 6.0 Beta 2/ruby1/jruby-1.0.1/lib/ruby/site_ruby/1.8/rubygems.rb with rubygems.rb in installation which works for you. My rubygems.rb have 15196 bytes.
I downloaded and installed again. This time I was able to create a Rails project. Perhaps I lost some bits yesterday's download.