summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2016-09-29 07:59:26 -0700
committerGitHub <noreply@github.com>2016-09-29 07:59:26 -0700
commit8da2a7d6b28cdf4c6e40391b1b3d33109273c8ef (patch)
tree3deda405a7382101b76634379a8515df836b1090 /lib/chef
parent30dab066b5aac64ca2436491453b3bd889abc665 (diff)
parent1d1c083882c43f8b7b559257dada60ad53191854 (diff)
downloadchef-8da2a7d6b28cdf4c6e40391b1b3d33109273c8ef.tar.gz
Merge pull request #5379 from chef/local
Revert --local filter for gems installed from paths
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/package/rubygems.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/package/rubygems.rb b/lib/chef/provider/package/rubygems.rb
index 187197d143..7b9ae909c0 100644
--- a/lib/chef/provider/package/rubygems.rb
+++ b/lib/chef/provider/package/rubygems.rb
@@ -536,7 +536,6 @@ class Chef
def install_via_gem_command(name, version)
if @new_resource.source =~ /\.gem$/i
name = @new_resource.source
- src = " --local" unless source_is_remote?
elsif @new_resource.clear_sources
src = " --clear-sources"
src << (@new_resource.source && " --source=#{@new_resource.source}" || "")