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.
Rails changed the command to create a app from "rails <project_name>" to "rails new <project_name>" when you tell netbeans to create a new project aginst rails 3 beta4 this is the output you get: Usage: rails new APP_PATH [options] Options: -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: c:/ruby19/bin/ruby.exe -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) # Default: sqlite3 -b, [--builder=BUILDER] # Path to an application builder (can be a filesystem path or URL) -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL). [--dev] # Setup the application with Gemfile pointing to your Rails checkout [--edge] # Setup the application with Gemfile pointing to Rails repository [--skip-gemfile] # Don't create a Gemfile -O, [--skip-activerecord] # Skip ActiveRecord files -T, [--skip-testunit] # Skip TestUnit files -J, [--skip-prototype] # Skip Prototype files -G, [--skip-git] # Skip Git ignores and keeps Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend] # Run but do not make any changes -q, [--quiet] # Supress status output -s, [--skip] # Skip files that already exist Rails options: -v, [--version] # Show Rails version number and quit -h, [--help] # Show this help message and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. See the README in the newly created application to get going.
Thanks for catching this, will fix for 6.9.1.
Fixed in efe229dfcad3.
pchytil, can you please verify this too?
Integrated into 'main-golden', will be available in build *201006190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/efe229dfcad3 User: Erno Mononen <emononen@netbeans.org> Log: #187751 - Cannot Create Rails 3 beta 4 Project
Please verify bugfix for this bug, so it can be integrated into release691 repository. Thanks, -R
Created attachment 100282 [details] Error message recived durring project creation
Created attachment 100283 [details] Post Creation error
It is not fixed. it still gives the help message for the rails command and does not create the project.
Can you please turn on detailed logging in Tools | Options | Misc | Ruby, try creating a new project again and then attach the log file (<nb_userdir>/var/log/messages.log) here? You can see what's your userdir in Help | About. Thanks.
No need to send the log file, I was able to reproduce the error even after the fix. I found out that there was a bug in sorting different beta versions, and you could also reproduce this when beta4 was the only Rails version installed. Should be fixed now for good in 3b63cf5ca803 - please verify when you have the chance. Thanks.
Integrated into 'main-golden', will be available in build *201006230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3b63cf5ca803 User: Erno Mononen <emononen@netbeans.org> Log: #187751 - Cannot Create Rails 3 beta 4 Project
It Works! Thank You
main #efe229dfcad3 transplanted to release691 #51b5b09dbd22 main #3b63cf5ca803 transplanted to release691 #e3ebfc688cb9
i was able to create new rails project (using rails 3.0.0 b4) in Product Version: NetBeans IDE 6.9.1 Dev (Build 201007072301) Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\Tomas\.netbeans\6.9.1dev ---> verified in 6.9.1