diff options
author | Andre Arko <andre@arko.net> | 2013-02-06 16:41:47 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-06 16:41:47 -0800 |
commit | 230c732b870e1a8b94f86c2a410682385ea3bd16 (patch) | |
tree | c0a9b2b1b08592b321d36cedc8a50d97c285b463 /lib/bundler/fetcher.rb | |
parent | 2868f492b6ddaba0f3913412d86a99a122443b9c (diff) | |
parent | c94f201215ac43f605000811f0a9c6ab5d708518 (diff) | |
download | bundler-230c732b870e1a8b94f86c2a410682385ea3bd16.tar.gz |
Merge pull request #2293 from CosmicCat/gem-security-policy
Add gem security policy option to install command
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r-- | lib/bundler/fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index b19d4ce37c..dc781bbdc3 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -18,7 +18,7 @@ module Bundler spec, uri = @@spec_fetch_map[spec.full_name] if spec path = download_gem_from_uri(spec, uri) - s = Bundler.rubygems.spec_from_gem(path) + s = Bundler.rubygems.spec_from_gem(path, Bundler.settings[:policy]) spec.__swap__(s) end end |