title: syntax error near unexpected token `('
body: <p>I am using whenever(whenever (0.8.2)) in my rails project('rails', '3.2.11'). Everything that is given in the readme of the whenever is present in my schedule.rb but when i try to use cron job during execution it don't complete but gives me some error in my error.log file:-</p>
  
  <p><strong>Error:-</strong></p>
  
  <pre><code> syntax error near unexpected token `('
  `APP_PATH = File.expand_path('../../config/application',  __FILE__)'
  </code></pre>
  
  <p>If any one is having any idea about this please let me know i tried a lot but still got nothing</p>
  
  <p>cron job is working for my other project on the same system but can't figure out what is the issue with this one.</p>
  
  <p>My schedule.rb:-</p>
  
  <pre><code>set :output, {:error =&gt; 'error.log', :standard =&gt; 'cron.log'}
  
  every :day, :at =&gt; '1:00 am' do
     runner "Site.daily_stats"
  end
  
  every 2.minutes do
    runner "Notifier.testing_whenever.deliver"
  end
  </code></pre>