title: Running custom rake tasks on heroku
body: <p>I'm following the <a href="http://railscasts.com/episodes/127-rake-in-background" rel="nofollow">Rake in Background</a> railscast to run some jobs in background. I'm able to do it on my localmachine.  </p>
  
  <p>But it doesn't work on heroku. How do I run these custom rake task on heroku?  </p>
  
  <p>I can run the tasks remotely from my terminal/shell using <code>heroku run rake my_task</code>. But the task is not running when I call it from controller as mentioned in the railscast.  </p>
  
  <p>I'm familier with delayed_job and other gems which do the same. But I want to implement my own rake task.</p>