diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 15:19:12 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 15:19:12 -0500 |
commit | 9d5ca174c247027db8f6b40784b2d9d402f93b9d (patch) | |
tree | 8bc1268e5669a35b90a2624d06f43b8d06320a85 /lib | |
parent | a6eed560b78af7e83c52a91f6a23c992a2b96ff6 (diff) | |
download | bundler-9d5ca174c247027db8f6b40784b2d9d402f93b9d.tar.gz |
[Binstubs] Update for Installer not inheriting from Environment
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/cli/binstubs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/binstubs.rb b/lib/bundler/cli/binstubs.rb index 971d8075..f7a27b01 100644 --- a/lib/bundler/cli/binstubs.rb +++ b/lib/bundler/cli/binstubs.rb @@ -21,7 +21,7 @@ module Bundler end gems.each do |gem_name| - spec = installer.specs.find {|s| s.name == gem_name } + spec = Bundler.definition.specs.find {|s| s.name == gem_name } unless spec raise GemNotFound, Bundler::CLI::Common.gem_not_found_message( gem_name, Bundler.definition.specs |