Skip to content

Loading…

Generator doesn't work with Rails 3 #1

Open
kristianmandrup opened this Issue · 0 comments

1 participant

@kristianmandrup

I guess someone has to seeport this generator to Thor for rails 3...

kristian-mandrups-macbook-pro:my_r3_sprout kristianconsult$ rls3_mongo_mdl Post name:string
Could not find generator mongo_model.
kristian-mandrups-macbook-pro:my_r3_sprout kristianconsult$ script/generate
[WARNING] Could not load generator at "/Users/kristianconsult/.rails/generators/rails-generator-generator/generator_generator.rb" because it's a Rails 2.x generator, which is not supported anymore
[WARNING] Could not load generator at "/Users/kristianconsult/.rails/generators/rails-generator-generator/scaffold/scaffold_generator.rb" because it's a Rails 2.x generator, which is not supported anymore
[WARNING] Could not load generator at "/Users/kristianconsult/.rails/generators/rails-generator-generator/templates/base_generator.rb". Error: /Users/kristianconsult/.rails/generators/rails-generator-generator/templates/base_generator.rb:1: syntax error, unexpected '<'
class <%= class_name %>Generator < Rails::Generator::Base
^
/Users/kristianconsult/.rails/generators/rails-generator-generator/templates/base_generator.rb:1: unterminated string meets end of file
[WARNING] Could not load generator at "/Users/kristianconsult/.rails/generators/rails-generator-generator/templates/named_generator.rb". Error: /Users/kristianconsult/.rails/generators/rails-generator-generator/templates/named_generator.rb:1: syntax error, unexpected '<'
class <%= class_name %>Generator < Rails::Generator::NamedBase
^
/Users/kristianconsult/.rails/generators/rails-generator-generator/templates/named_generator.rb:1: unterminated string meets end of file
Please select a generator.
Builtin: active_record:migration, active_record:model, active_record:observer, active_record:session_migration, app, controller, erb:controller, erb:mailer, erb:scaffold, generator, helper, integration_test, mailer, metal, migration, model, model_subclass, observer, performance_test, plugin, resource, scaffold, scaffold_controller, session_migration, stylesheets, test_unit:controller, test_unit:helper, test_unit:integration, test_unit:mailer, test_unit:model, test_unit:observer, test_unit:performance, test_unit:plugin, test_unit:scaffold.
kristian-mandrups-macbook-pro:my_r3_sprout kristianconsult$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.