how to create a rake task
Hi,
I am trying to run the 'annotate' gem to annotate my User model:
- If I launch the rails console, i get undefined method error for any of the 'bundle exec annotate User' or simply 'annotate'.
- If I browse into the annotate/bin folder under Project, and then right-click on annotate and then 'Run annotate', I get 'Can't find Rakefile. Are we in a Rails folder?' error
- If I try to create a rake task under Edit Configurations, it create a task but it does not show in the list of available task when I try to 'Run Rake task'
What am I missing? How can I run it?
thanks,
Murat
请先登录再写评论。