Vladim, rails 3 changed a lot the way generators are used, and hobo 1.3 just follows the convention. In your case you have to use:
$ hobo g resource ... ciao dd On Wed, Jan 12, 2011 at 11:11 AM, Vadim Lazuko <[email protected]> wrote: > Hello > > I'm trying to build my first app with hobo and receive the following > error when generating first model (hobo 1.3.0 pre25 @win32). > > "... > $ ./script/generate hobo_model_resource recipe title:string > description:text created_on:datetime modified_on:datetime > visible:boolean viewed:integer > > Couldn't find 'hobo_model_resource' generator > ..." > > Initially it was even unable to locate 'script/generate' module to > launch ('script' folder of my app contained only 'rails') and I tried > to copy the one from `Ruby192\lib\ruby\gems\1.9.1\gems > \hobo-1.0.2\script\generate`, but now receive the error message > mentioned above. > I've checked and `Ruby192\lib\ruby\gems\1.9.1\gems > \hobo-1.0.2\rails_generators` contains `hobo_model_resource` folder > and files there. > > It seems that something is misconfigured at my installation, but I'm > unable to figure out what, please help. Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
