Created
May 21, 2011 21:21
-
-
Save joshbuddy/984911 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [joshbuddy@jj ~/Development/todo]$ bundle exec padrino g model List | |
| /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/gems/thor-0.14.6/lib/thor/rake_compat.rb:33: undefined method `task' for class `Object' (NameError) | |
| from /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/gems/padrino-core-0.9.28/lib/padrino-core/cli/base.rb:8 | |
| from /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/gems/padrino-core-0.9.28/bin/padrino:7:in `require' | |
| from /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/gems/padrino-core-0.9.28/bin/padrino:7 | |
| from /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/bin/padrino:19:in `load' | |
| from /Users/joshbuddy/.rvm/gems/ree-1.8.7-2011.03/bin/padrino:19 |
If you're downgrading in your Gemfile, you should use bundle exec padrino start to use the older version of rake.
I tried that, but it didn't help. I wlll ait for the next official gem update & try again.
we released a new version of padrino wich is rake 0.9 compat.
Have fun!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I thought I would try the other approach (using the git version of padrino), but still get the error.
I have included a complete log of what I did and the versions -- incase that helps.
I look forward to this conflict being resolved - I wanted to try padrino.
Bill
bill-laptop:inventory bill$
rvm listbill-laptop:inventory bill$
padrino g project inventory -d activerecord -a sqlitecreate create .gitignore create config.ru create config/apps.rb create config/boot.rb create public/favicon.ico create public/images create public/javascripts create public/stylesheets create tmp create .components create app create app/app.rb create app/controllers create app/helpers create app/views create app/views/layouts create Gemfile Applying 'activerecord' (orm)... apply orms/activerecord insert Gemfile insert Gemfile create config/database.rb create app/models Skipping generator for test component... Skipping generator for mock component... Skipping generator for script component... Applying 'haml' (renderer)... apply renderers/haml insert Gemfile Skipping generator for stylesheet component... identical .components ================================================================= inventory is ready for development! Next, follow these steps: ================================================================= 1) cd ./inventory 2) bundle install =================================================================bill-laptop:padrino bill$
cd inventory/bill-laptop:inventory bill$
vim Gemfilebill-laptop:inventory bill$
bundle installbill-laptop:inventory bill$
padrino g app computers/Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen.rb:31: warning: already initialized constant DEV_PATH => Located locked Gemfile for development /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:176:in `block in argument': You cannot have "name" as required argument after the non-required argument "actions". (ArgumentError) from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:174:in `each' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:174:in `argument' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen/generators/mailer.rb:20:in `' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen/generators/mailer.rb:4:in `' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen/generators/mailer.rb:2:in `' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen/generators/mailer.rb:1:in `' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `block in require' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `block in load_dependency' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen.rb:62:in `block in load_components!' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen.rb:62:in `each' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/bundler/gems/padrino-framework-d433e19483dc/padrino-gen/lib/padrino-gen.rb:62:in `load_components!' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/padrino-gen-0.9.28/lib/padrino-gen/generators/cli.rb:36:in `setup' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/task.rb:22:in `run' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `block in invoke_all' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `each' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/thor-0.14.6/lib/thor/base.rb:389:in `start' from /Users/bill/.rvm/gems/ruby-1.9.2-p180/gems/padrino-gen-0.9.28/bin/padrino-gen:15:in `'