Where are you keeping this file?

If you put it in somewhere like:

lib/tasks

It should work.

Try to add:

desc "some text"

Before each task and then you can look for it when you type:

rake -T

2010/1/16 Aashish Kiran <[email protected]>

> ---------rakefile-------------
>
> require 'csv'
> require 'rake'
> task :purchaseAlcohol do
>  puts "Purchased Vodka"
> end
>
> task :mixDrink do
>  puts "Mixed Fuzzy Navel"
> end
>
> task :getSmashed do
>  puts "Dood, everthing’s blurry, can I halff noth’r drinnnk?"
> end
> -----------end--------------------
>
> when I run rake task using any of the commands
>
> rake purchaseAlcohol
> rake mixDrink
> rake getSmashed
>
> i am getting error as
> rake aborted! Don't know how to build task 'taskname'
> Can anyone please tell how to get rid of it.
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>


-- 
Bruno Grasselli
Blog: http://brunograsselli.com.br
Twitter: http://twitter.com/grasselli
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to