title: ruby bundler not installing gems
body: <p>I'm trying my first Ruby app - unfortunately due to constraints in our deployment environment, it doesn't have access to external ruby gems. Thus I package them locally to install via bundler. </p>
  
  <p>Here's my Gemfile:</p>
  
  <pre><code>gem 'rack', '=2.0.3', :path =&gt; "/opt/app-root/src/gems"
  gem 'puma', '=3.10.0', :path =&gt; "/opt/app-root/src/gems"
  </code></pre>
  
  <p>My gems are present in /opt/app-root/src/gems and when I run <code>bundle install --local --path ./bundle --deployment</code> the output is so:</p>
  
  <pre><code>Using puma 3.10.0 from source at `/opt/app-root/src/gems`
  Using rack 2.0.3 from source at `/opt/app-root/src/gems`
  Using bundler 1.13.7
  Bundle complete! 2 Gemfile dependencies, 3 gems now installed.
  Bundled gems are installed into ./bundle.
  </code></pre>
  
  <p>Yet using gem list shows them not present (nor do any expected commands work, e.g. bundle exec rackup).</p>
  
  <p>The ./bundle directory has nothing in it other than this empty directory structure:
      /opt/app-root/src/ruby/bundle/ruby/2.4.0</p>
  
  <p>Can anyone help, what am I missing here?</p>
  
  <p>Thanks!</p>