not sure, but merb-gen arguments are comma delimited and without space
(yeah, I know it sucks :()

try:

jruby -S merb-gen model --orm activerecord Runner
distance:float,minutes:integer

and

jruby -S merb-gen model Runner distance:float,minutes:integer

-Matt


On Wed, Nov 12, 2008 at 3:42 PM, Arun <[EMAIL PROTECTED]> wrote:

>
> jruby -S merb-gen model --orm activerecord Runner distance:float
> minutes:integer
>
> still showing the same error message.
>
> Any idea ?
>
> On Nov 12, 2:26 pm, Arun <[EMAIL PROTECTED]> wrote:
> > > merb-gen resource Bird name:string color:string family_id:integer
> > > last_location:string last_seen_at:datetime
> >
> > "merb-gen resource" gives the error:
> >
> >  FATAL: The file dm-core was not found
> >
> > config/database.yml specify:
> >
> > use_orm :activerecord
> >
> >
> >
> > > merb-gen AR template uses  the same syntax as Rails generator.
> >
> > merb-gen does not seem to show any help on this. Can you expand more
> > here ?
> >
> > -Arun
> >
> >
> >
> > > -Matt
> >
> > > On Fri, Sep 26, 2008 at 1:16 AM, Michael Klishin <
> >
> > > [EMAIL PROTECTED]> wrote:
> >
> > > > 2008/9/26 MyMerb <[EMAIL PROTECTED]>:
> > > > > So far... I have not seen any tutorial on Scaffolding in Merb.
> >
> > > > run merb-gen without arguments to see generators available on your
> system.
> > > > Additional gems may provide their own generators.
> > > > --
> > > > MK
> >
>

--~--~---------~--~----~------------~-------~--~----~
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