summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <colby@taplaboratories.com>2017-03-20 23:05:21 +1100
committerColby Swandale <colby@taplaboratories.com>2017-03-20 23:05:21 +1100
commit31ffc3753b5a5e61eebe739006d30b2548bbb97b (patch)
tree25df34bf6466d75b80c637e7d166250287ebb276
parent5cd6aef0ce64391524460a76c004e46b2abb8d13 (diff)
downloadbundler-31ffc3753b5a5e61eebe739006d30b2548bbb97b.tar.gz
turns out linux needs env vars to be quoted (even when empty)
-rw-r--r--spec/commands/newgem_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb
index 3c9df483fa..606116cf3c 100644
--- a/spec/commands/newgem_spec.rb
+++ b/spec/commands/newgem_spec.rb
@@ -175,7 +175,7 @@ RSpec.describe "bundle gem" do
load_paths = [lib, spec]
load_path_str = "-I#{load_paths.join(File::PATH_SEPARATOR)}"
- sys_exec "PATH= #{Gem.ruby} #{load_path_str} #{bundle_bin} gem #{gem_name}"
+ sys_exec "PATH="" #{Gem.ruby} #{load_path_str} #{bundle_bin} gem #{gem_name}"
end
it "creates the gem without the need for git" do