diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2017-07-31 10:00:21 -0400 |
|---|---|---|
| committer | Samuel Giddins <segiddins@segiddins.me> | 2017-08-19 00:24:34 -0400 |
| commit | ec4e3e74760ca14b4c50fc5b6e09820527015ba4 (patch) | |
| tree | 7b1bdc9b0eff247cad521433ffbe3f6021bc5734 /lib/bundler/source/path.rb | |
| parent | 1d91876ec50215f30a1b48dec9e919f9a9bcebdd (diff) | |
| download | bundler-ec4e3e74760ca14b4c50fc5b6e09820527015ba4.tar.gz | |
Globally cache built extensions for RG & Git sources
Diffstat (limited to 'lib/bundler/source/path.rb')
| -rw-r--r-- | lib/bundler/source/path.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/bundler/source/path.rb b/lib/bundler/source/path.rb index 806ba81935..64d00e2ec6 100644 --- a/lib/bundler/source/path.rb +++ b/lib/bundler/source/path.rb @@ -227,7 +227,8 @@ module Bundler spec, :env_shebang => false, :disable_extensions => options[:disable_extensions], - :build_args => options[:build_args] + :build_args => options[:build_args], + :bundler_extension_cache_path => extension_cache_path(spec) ) installer.post_install rescue Gem::InvalidSpecificationException => e @@ -243,6 +244,10 @@ module Bundler Bundler.ui.warn "The validation message from RubyGems was:\n #{e.message}" end + + def extension_cache_path(spec) + nil + end end end end |
