Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tasks command bug with rake >= 0.9.0 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

labocho
Copy link

@labocho labocho commented Sep 6, 2013

tasks command fails with rake >= 0.9.0.

rails-sh(foo)> tasks
Unknown show task mode: ''
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:283:in `display_tasks_and_comments'
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rails-sh-1.5.2/lib/rails/sh/commands.rb:43:in `block in <top (required)>'
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rails-sh-1.5.2/lib/rails/sh.rb:51:in `call'
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rails-sh-1.5.2/lib/rails/sh.rb:51:in `execute'
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rails-sh-1.5.2/lib/rails/sh.rb:28:in `start'
/Users/labocho/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rails-sh-1.5.2/bin/rails-sh:28:in `<top (required)>'
/Users/labocho/.rbenv/versions/2.0.0-p0/bin/rails-sh:19:in `load'
/Users/labocho/.rbenv/versions/2.0.0-p0/bin/rails-sh:19:in `<main>'

Newer rake requires some configurations for showing tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant