diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-10-20 14:36:52 -0500 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:57 +0900 |
commit | 82bf064375361f3d662389a634ef0541a0a1fc3b (patch) | |
tree | 97b65ac43cd7a06c74ee674ce3ae163bc9aee691 /lib | |
parent | 215d846ea59ef0a20558ac7056f35998e9dc053e (diff) | |
download | ruby-82bf064375361f3d662389a634ef0541a0a1fc3b.tar.gz |
[bundler/bundler] [Package] Ensure uninstallable gems are _never_ installed
https://github.com/bundler/bundler/commit/899aeeebb0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 339c38ab72..98fa2c1ef7 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -167,7 +167,7 @@ module Bundler def specs @specs ||= begin begin - specs = resolve.materialize(Bundler.settings[:cache_all_platforms] ? dependencies : requested_dependencies) + specs = resolve.materialize(requested_dependencies) rescue GemNotFound => e # Handle yanked gem gem_name, gem_version = extract_gem_info(e) locked_gem = @locked_specs[gem_name].last |