Cendrao / ruby-fizzbuzz

FizzBuzz in ruby with tests
MIT License
0 stars 0 forks source link

Can't execute rake tasks #6

Closed lucca65 closed 9 years ago

lucca65 commented 9 years ago

Following the readme, I can't make it work.

$ rake print[10,20]   
zsh: no matches found: print[10,20]
rake fizzbuzz[10] 
zsh: no matches found: fizzbuzz[10]

if Ignore the docs and call the rake task properly i get the following:

rake fizzbuzz 10 20
rake aborted!
NoMethodError: undefined method `fizzbuzz' for main:Object
/Users/Lucca/Development/ruby/scripts/ruby-fizzbuzz/rakefile:5:in `block in <top (required)>'
Tasks: TOP => fizzbuzz
(See full trace by running task with --trace)
Cendrao commented 9 years ago

I realized that you are using zsh, please can you try to run rake 'print[1,10]' ?

I know that is not a good solution yet, but I am looking for something else.

lucca65 commented 9 years ago

Great! This works!

Cendrao commented 9 years ago

Update de readme with that! Thanks!

Commit 2488539