title: 'bundle install' for a local gem is not resolving dependencies, while 'gem install' does
body: <p>I have a local gem (enterprise-0.0.1.gem) in a directory '/home/enterprise/pkg'.
  It has dependency on active_directory gem (v 1.5.5), which was specified in it's enterprise.gemspec file like this :-</p>
  
  <pre><code>gem.add_dependency("active_directory")
  </code></pre>
  
  <p>In my Application's Gemfile, I add the following line:-</p>
  
  <pre><code>gem 'enterprise', '0.0.1', path =&gt; '/home/enterprise/pkg'
  </code></pre>
  
  <p>When I do </p>
  
  <blockquote>
    <p>bundle install</p>
  </blockquote>
  
  <p>from my application's source directory, only the enterprise gem is installed. Hence, I hit runtime errors for the reference to active_directory gem.</p>
  
  <p>But when I do </p>
  
  <blockquote>
    <p>gem install /home/enterprise/pkg/enterprise-0.0.1.gem</p>
  </blockquote>
  
  <p>the dependencies are resolved and I can see the active_directory gem in the gem list. </p>
  
  <p>Why is there a discrepancy in the dependency resolution with bundler, and not with rubygems.</p>
  
  <p>Kindly let me know if I need to provide more information about the environment.
  Ruby: 1.9.2,
  RubyGems: 1.8.24,
  Bundler: 1.1.5,
  rvm: 1.9.2.</p>
  
  <p>My enterprise.gemspec file for reference :-</p>
  
  <pre><code> # -*- encoding: utf-8 -*-
     require File.expand_path('../lib/enterprise/version', __FILE__)
  
     Gem::Specification.new do |gem|
        gem.authors       = ["example"]
        gem.email         = ["example@example.com"]
        gem.description   = %q{Enterprise Gem: example}
        gem.summary       = %q{Services: Authentication, Access Control}
        gem.homepage      = "http://example.com"  
        gem.files         = %w[
                         README.md
                         Rakefile
                         Gemfile
                         Gemfile.lock
                         enterprise.gemspec
                         lib/enterprise.rb
                         lib/enterprise/auth_service.rb
                         lib/enterprise/version.rb
                         ]
       gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
       gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
       gem.name          = "enterprise"
       gem.require_paths = ["lib"]
       gem.version       = Enterprise::VERSION
       gem.add_dependency("active_directory")
     end
  </code></pre>