Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

--where (-W) option does not work for tasks without description #126

Closed
vderyagin opened this Issue · 1 comment

2 participants

@vderyagin
~ $ cat Rakefile.rb 
desc 'foo'
task(:foo) { puts 'foo' }
~ $ rake --where foo
rake foo                            /home/vderyagin/Rakefile.rb:2:in `<top (required)>'
~ $ sed -i 's/desc/# desc/' Rakefile.rb 
~ $ cat Rakefile.rb 
# desc 'foo'
task(:foo) { puts 'foo' }
~ $ rake --where foo
~ $ 

Ruby and rake versions:

~ $ ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
~ $ rake --version
rake, version 0.9.2.2
@jimweirich
Owner

Changes make to rake git repo. Will be in next version.

Thanks, this was a good catch.

@jimweirich jimweirich closed this
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.