lib/sprinkle/installers/gem.rb in trevorturk-sprinkle-0.2.2 vs lib/sprinkle/installers/gem.rb in trevorturk-sprinkle-0.2.6
- old
+ new
@@ -52,9 +52,10 @@
cmd = "gem install #{gem}"
cmd << " --version '#{version}'" if version
cmd << " --source #{source}" if source
cmd << " --install-dir #{repository}" if option?(:repository)
cmd << " --no-rdoc --no-ri" unless option?(:build_docs)
+ cmd << " --http-proxy #{http_proxy}" if option?(:http_proxy)
cmd << " -- #{build_flags}" if option?(:build_flags)
cmd
end
end