I want to invoke my rake task from console. Is it doable? if yes, how to do so?
I tried this on console:
require \
Just a note that if you are in the rails console via rails c you can just call/run the rake task method by irb(main):001:0> TaskClassName.new.my_task
rails c
irb(main):001:0> TaskClassName.new.my_task