title: Can't run Jenkins Build - bundle: "command not found"
body: <p>I am currently trying to run a jenkins build for some of my cucumber tasks. All of my gems have been installed by using the Bundler. The gems are stored in the vendor folder.</p>
  
  <p>However, when I try and run <code>bundle install --deployment</code> in the execute shell build step, I get the following error:</p>
  
  <pre><code>Started by user anonymous
  Building in workspace /Users/Shared/Jenkins/Home/jobs/cukes/workspace
  [workspace] $ /bin/sh -xe/var/folders/zz/zyxvpxvq6csfxvn_n0000004000001/T/hudson4461284045505361460.sh
  + bundle install --deployment
  /var/folders/zz/zyxvpxvq6csfxvn_n0000004000001/T/hudson4461284045505361460.sh: line 2: bundle: command not found
  Build step 'Execute shell' marked build as failure
  Finished: FAILURE
  </code></pre>
  
  <p>This is driving me crazy! It runs on my local machine with no problems. Why can't Jenkins see my gems?</p>
  
  <p>Any help would be great!</p>
  
  <p>Cheers,
  Jon</p>