From f367eebb10f73dd4d1513be02c1759f09a8cc826 Mon Sep 17 00:00:00 2001 From: Matt Palmer <mpalmer@hezmatt.org> Date: Wed, 17 Oct 2018 15:31:45 +1100 Subject: [PATCH] Override problematic .gemrc setting --- lib/plugin_gem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugin_gem.rb b/lib/plugin_gem.rb index ee470960d6d..6bf9d96a2bd 100644 --- a/lib/plugin_gem.rb +++ b/lib/plugin_gem.rb @@ -6,7 +6,7 @@ module PluginGem spec_path = gems_path + "/specifications" spec_file = spec_path + "/#{name}-#{version}.gemspec" unless File.exists? spec_file - command = "gem install #{name} -v #{version} -i #{gems_path} --no-document --ignore-dependencies" + command = "gem install #{name} -v #{version} -i #{gems_path} --no-document --ignore-dependencies --no-user-install" if opts[:source] command << " --source #{opts[:source]}" end