title: How to tell bundler to ignore gems that don't exist?
body: <p>My organization has a number of in-house gems that are used in automated testing, but are not required for a production deployment. I am trying to use Bundler and so in my Gemfile I've wrapped those gems in:</p>
  
  <pre><code>group :test, :development do
      gem 'dashboard_summary'
  end
  </code></pre>
  
  <p>However, when I run:</p>
  
  <pre><code>$ bundle install --without staging development test
  </code></pre>
  
  <p>I still get</p>
  
  <pre><code>Could not find gem 'dashboard_summary (&gt;= 0) ruby' in the gems available on this machine.
  </code></pre>
  
  <p>I'm trying to understand why Bundler isn't ignoring that gem when I've told it to.</p>