diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-08 11:12:29 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-28 15:11:57 +0100 |
commit | 70cb2f0767395a7ae9f5955eab1b16f30cf05930 (patch) | |
tree | a03fd4a886f19955c97ecc886c5783ca2f166af8 /lib/bundler/installer | |
parent | 2167156db020fbe6ce74759cbf62ad1ceb651fb7 (diff) | |
download | bundler-70cb2f0767395a7ae9f5955eab1b16f30cf05930.tar.gz |
Shellsplit build configshellsplit_build_config
Diffstat (limited to 'lib/bundler/installer')
-rw-r--r-- | lib/bundler/installer/gem_installer.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bundler/installer/gem_installer.rb b/lib/bundler/installer/gem_installer.rb index e5e245f970..9689911d6c 100644 --- a/lib/bundler/installer/gem_installer.rb +++ b/lib/bundler/installer/gem_installer.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "shellwords" + module Bundler class GemInstaller attr_reader :spec, :standalone, :worker, :force, :installer @@ -56,7 +58,9 @@ module Bundler def spec_settings # Fetch the build settings, if there are any - Bundler.settings["build.#{spec.name}"] + if settings = Bundler.settings["build.#{spec.name}"] + Shellwords.shellsplit(settings) + end end def install |