title: Rails, using whenever gem in development
body: <p>Sorry quick question here from a relative Rails newbie. I'm trying to use the <a href="https://github.com/javan/whenever">Whenever</a> gem to schedule a number of rake tasks.  I can't for the life of me get it to actually begin running the cron jobs on my development machine.</p>
  
  <p>Judging from other stackoverflow threads, it appears I should add this:</p>
  
  <pre><code>set :environment, "development"
  </code></pre>
  
  <p>to my schedule.rb file.  But then what?</p>
  
  <p>And then how do I stop the cron jobs once they've started?</p>
  
  <p>Using Rails 3.2.3 in OSX</p>
  
  <p>UPDATE: the answer is to run <code>$ whenever -w</code> which writes the cron job to a crontab file. The system then immediately starts running that crontab file automatically.</p>
  
  <p>Unfortunately, my logfile for whenever contains the following: 
  <code>"rake aborted! Don't know how to build task &lt;task name&gt;"</code></p>
  
  <p>I'm thinking this might be due to the known crontab/rvm issue, but any suggestions are welcome.</p>