Skip to content

Instantly share code, notes, and snippets.

@sentientwaffle
Created June 30, 2011 16:32
Show Gist options
  • Save sentientwaffle/1056607 to your computer and use it in GitHub Desktop.
Save sentientwaffle/1056607 to your computer and use it in GitHub Desktop.
Rails 3.1.0.rc4 engines
$ rails -v
Rails 3.1.0.rc4
$ rails plugin new my_engine --skip-bundle -O --old-style-hash --full
$ cd my_engine
$ rails g --help
/home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/railtie.rb:192:in `load_generators': wrong number of arguments (0 for 1) (ArgumentError)
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/generators.rb:331:in `load_generators_from_railties!'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/generators.rb:313:in `lookup!'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/generators.rb:217:in `help'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/commands/generate.rb:7:in `<top (required)>'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:237:in `require'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:237:in `block in require'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:639:in `new_constants_in'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.1.0.rc4/lib/active_support/dependencies.rb:237:in `require'
from /home/x/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.1.0.rc4/lib/rails/commands.rb:28:in `<top (required)>'
from /home/x/apps/utopia_engine/test/dummy/script/rails:6:in `require'
from /home/x/apps/utopia_engine/test/dummy/script/rails:6:in `<top (required)>'
from script/rails:6:in `load'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment