title: .bashrc not sourced from script when run as a cron job
body: <p>I have a bash script that is invoked from a cron job which has the following lines:</p>
  
  <pre><code>source ~/.bashrc
  jruby run.rb 
  </code></pre>
  
  <p><code>.bashrc</code> adds <code>jruby</code> to the path. </p>
  
  <p>I am able to invoke the script directly on a terminal but the cron fails with "jruby not found"</p>
  
  <p>Any pointers ?</p>