title: bundler: not executable: bin/rails in rails production while using whenever gem
body: <p>I'm using whenever gem for cronjobs in rails application - production.
  I'm getting an error <code>bundler: not executable: bin/rails</code></p>
  
  <p>scheduler.rb</p>
  
  <pre><code>every 15.minute do
   runner 'TestJob.perform_later()'
  end
  </code></pre>
  
  <p>crontab </p>
  
  <pre><code>0,15,30,45 * * * * /bin/bash -l -c 'cd /home/deploy/my-app/releases/20190719103116 &amp;&amp; bundle exec bin/rails runner -e production '\''TestJob.perform_later()'\'''
  </code></pre>
  
  <p>but when i run <code>/bin/bash -l -c 'cd /home/deploy/my-app/releases/20190719103116 &amp;&amp; bundle exec bin/rails runner -e production '\''TestJob.perform_later()'\'''</code> in my bash replacing <code>bin/rails</code> with just <code>rails</code> this work fine.How to fix this?</p>