title: How to run unicorn when reboot automatically, I got Could not find gems errors
body: <p>I setup my <code>rbenv</code> in <code>.zshrc</code> and on Ubuntu 12.04</p>
  
  <p>and get the following errors </p>
  
  <p><code>Could not find tzinfo-0.3.40 in any of the sources
  Run</code>bundle install<code>to install missing gems.</code></p>
  
  <p>Here's the command in the crontab</p>
  
  <pre><code>/bin/sh -l -c 'source ~/.zshrc &amp;&amp; cd /home/poc/projects/zeus/ &amp;&amp; bundle exec unicorn -c /home/poc/projects/zeus/config/unicorn.rb -E production -D -p 8080'
  </code></pre>
  
  <p>When I typed which ruby, I expected it returned me <code>/home/poc/.rbenv/shims/ruby</code> But <code>/usr/local/bin/ruby</code> </p>
  
  <pre><code>/bin/sh -l -c 'source ~/.zshrc; echo `which ruby`'
  </code></pre>