This project is archived and is in readonly mode.

#4672 ✓duplicate
Daniel Schierbeck

Order of command line options

Reported by Daniel Schierbeck | May 23rd, 2010 @ 01:07 PM

When creating a new Rails 3 app using rails -J <appname>, or any other option for that matter, the following error is returned: No value provided for required arguments 'app_path'.

It seems that the options need to come after the app name, which does not match normal UNIX conventions, e.g. rm -fr <dir>.

Is this intentional, a limitation of the argument parsing, or something I should look into fixing?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages