running rake tasks from the rails console

Developer from somewhere

require "rake"
Your::Application.load_tasks
Rake::Task["some_task"].invoke # you'll also need reenable if calling a task multiple times