title: How to run cronjob for ruby script that runs from bash terminal
body: <p>I normally run <a href="https://gist.github.com/inertia186/db94986d168f7b35034b0d7ccba6f2b4" rel="nofollow noreferrer">stinkypete.rb script</a> using bash terminal and then run </p>
  
  <pre><code>  ruby stinkypete.rb
  </code></pre>
  
  <p>I'm trying to create cronjob for same using nano editor in ubuntu 16.04 and here is line for crontab that i've written.</p>
  
  <pre><code>*/1 * * * * export /home/orion/.bashrc -c '/home/orion/stinkypete/stinkypete.rb'
  </code></pre>
  
  <p>Checking service cron status, its running but script doesn't work.
  Is there any other path that I need to load in crontab?</p>