title: rails + rbenv + bundler in prod with no internet or git allowed
body: <p>I have a setup in dev using rbenv with passenger and rails.  In prod, I will have no internet access and not allowed to have git installed.  Everything will be packaged from our local git repo and deployed via rpm.  I've searched and read everything I could find, however the direction of what to use between bundle package and bundle deployment remains ambiguous to me.  So here is what I am thinking of doing - please give feedback or a solution:</p>
  
  <p>In dev:</p>
  
  <ol>
  <li>install rbenv for user that will be same in prod</li>
  <li>install ruby + bundler + passenger</li>
  <li>put .rbenv dir in local git repo to be packaged</li>
  <li>in rails dir, run <code>bundle package --all</code></li>
  <li>commit ./vendor/cache to git repo as part of my project</li>
  <li>in all environments, run <code>bundle install --local --deployment</code> (not sure about this part goal is to have the gems, git , etc packages install to ./vender/bundle and not contact internet, but use ./vendor/cache)</li>
  <li>gitignore ./vendor/bundle</li>
  </ol>
  
  <p>Does this work as expected, or should I take another path?</p>