Yeah it should be caught, but it's basically a syntax error, there's  
no such option --orm.

Julian.

On 16/11/2008, at 4:00 AM, Jim Freeze wrote:

>
> I am trying to specify which ORM to use during install (and granted I
> may not be using the correct commandline), but merb-gen crashes. It
> really shouldn't do that, no matter the input.
>
> [EMAIL PROTECTED] (ttyp0) 37 /home/jdf/devel > merb-gen app xx --orm Sequel
> /usr/local/lib/ruby/1.8/optparse.rb:1443:in `complete': invalid
> option: --orm (OptionParser::InvalidOption)
>       from /usr/local/lib/ruby/1.8/optparse.rb:1441:in `catch'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1441:in `complete'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1247:in `catch'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1247:in `parse_in_order'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order!'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1332:in `permute!'
>       from /usr/local/lib/ruby/1.8/optparse.rb:1353:in `parse!'
>       from /usr/local/lib/ruby/gems/1.8/gems/templater-0.4.0/lib/ 
> templater/cli/parser.rb:81:in
> `parse'
>       from /usr/local/lib/ruby/gems/1.8/gems/templater-0.4.0/lib/ 
> templater/cli/generator.rb:34:in
> `run'
>       from /usr/local/lib/ruby/gems/1.8/gems/templater-0.4.0/lib/ 
> templater/cli/manifold.rb:24:in
> `run'
>       from /usr/local/lib/ruby/gems/1.8/gems/templater-0.4.0/lib/ 
> templater/manifold.rb:80:in
> `run_cli'
>       from /usr/local/lib/ruby/gems/1.8/gems/merb-gen-1.0/bin/merb-gen:6
>       from /usr/local/bin/merb-gen:19:in `load'
>       from /usr/local/bin/merb-gen:19
>
>
> -- 
> Jim Freeze
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to