More information: peach ~/hsom]=- rake db:automigrate (in /home/aeufemio/hsom) Logging to #<IO:0xb7d22564> rake aborted! can't convert IO into String /home/aeufemio/hsom/Rakefile:12 (See full trace by running task with --trace)
Running merb-0.9.8 with dm-core-0.9.5 On Oct 6, 2:53 pm, Calculon <[EMAIL PROTECTED]> wrote: > I can't generate a resource using the latest merb-gen > > [EMAIL PROTECTED] ~/projects/my_new_app]=- merb-gen resource Page > title:string body:text > ~ Merb::Orms::DataMapper::Connect block. > ~ No database.yml file found in /home/aeufemio/projects/my_new_app/ > config, assuming database connection(s) established in the environment > file in /home/aeufemio/projects/my_new_app/config/environments > ~ Checking if we need to use DataMapper sessions > ~ Merb::Orms::DataMapper::Connect complete > ~ Compiling routes... > Usage: merb-gen resource [options] [args] > > Generates a new resource. > > Options specific for this generator: > --template-engine OPTION Template Engine to use (one of: > erb, haml, markaby, etc...) > --testing-framework OPTION Testing framework to use (one of: > rspec, test_unit) > --orm OPTION Object-Relation Mapper to use > (one of: none, activerecord, datamapper, sequel) > --migration Also generate a dm-migration for > the model > > General options: > -p, --pretend Run, but do not make any changes. > -f, --force Overwrite files that already > exist. > -s, --skip Skip files that already exist. > -d, --delete Delete files that have previously > been generated with this generator. > --no-color Don't colorize the output > -h, --help Show this message > --version Show the version > --debug Do not catch errors > > Even printing out the version using merb-gen --version doesn't work. > > [EMAIL PROTECTED] ~/projects/my_new_app]=- merb-gen --version > ~ Merb::Orms::DataMapper::Connect block. > ~ No database.yml file found in /home/aeufemio/projects/my_new_app/ > config, assuming database connection(s) established in the environment > file in /home/aeufemio/projects/my_new_app/config/environments > ~ Checking if we need to use DataMapper sessions > ~ Merb::Orms::DataMapper::Connect complete > ~ Compiling routes... > Usage: merb-gen generator_name [options] [args] > > Generate components for your application or entirely new applications. > > Available Generators > layout Generates a layout > resource_controller Generates a new resource > controller. > model Generates a new model. You can > specify an ORM different from what the rest > resource Generates a new resource. > migration This is a migration generator > app Generates a merb application. > slice Generates a merb slice. > helper Generates a new helper. > session_migration Generates a new session > migration. > controller Generates a new controller. > part This is a part controller > generator > plugin Merb plugin generator: lets you > kick start your Merb plugin. > > General options: > -p, --pretend Run, but do not make any changes. > -f, --force Overwrite files that already > exist. > -s, --skip Skip files that already exist. > -d, --delete Delete files that have previously > been generated with this generator. > --no-color Don't colorize the output > -h, --help Show this message > --version Show the version > --debug Do not catch errors > > Halp! :-( > > -AE --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
