Hiro Asari created JRUBY-6382:
---------------------------------
Summary: [1.9] Padrino can't generate an app
Key: JRUBY-6382
URL: https://jira.codehaus.org/browse/JRUBY-6382
Project: JRuby
Issue Type: Bug
Components: Application Error, Ruby 1.9.3
Affects Versions: JRuby 1.6.5, JRuby 1.7
Reporter: Hiro Asari
{noformat}
[system] ~ $ jruby --1.9 -S padrino --version
Padrino v. 0.10.5
[system] ~ $ jruby --1.9 -S padrino g project myapp
Please specify generator to use (project, app, mailer, controller, model,
migration, plugin)
{noformat}
By the time we get to
https://github.com/padrino/padrino-framework/blob/ac699c997ec4b1994cb3324efb1c328f7d2578bd/padrino-gen/lib/padrino-gen/generators/cli.rb#L43
somehow {{ARGV}} is mangled to contain {{["gproject", "myapp"]}}, rather than
{{["g", "project", "myapp"]}}. It seems to be error is coming from Thor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email