jugyo/rails-sh — pull request #10 by labocho (2013-09-06 01:34:13+00:00)
Title: Fix `tasks` command bug with rake >= 0.9.0

`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 '
/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 `'
/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 `

'
```

Newer rake requires some configurations for showing tasks.