diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-07-20 17:29:40 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-07-21 09:33:01 -0500 |
commit | 4427c63dbe15912a52c2228fcf22080c1d7df741 (patch) | |
tree | 640a3df1acc33a132cc6fc05c36e2f0038b01852 | |
parent | 12e904fa801c04279331ad2cb7b6c12c7c392733 (diff) | |
download | bundler-4427c63dbe15912a52c2228fcf22080c1d7df741.tar.gz |
Quote env var values for ruby < 2 popen
-rw-r--r-- | spec/commands/binstubs_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index eb14db4f6f..a80adf6645 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -87,7 +87,7 @@ RSpec.describe "bundle binstubs <gem>" do context "when BUNDLER_VERSION is set" do it "runs the correct version of bundler" do - sys_exec "BUNDLER_VERSION=999.999.999 #{bundled_app("bin/bundle")} install" + sys_exec "BUNDLER_VERSION='999.999.999' #{bundled_app("bin/bundle")} install" expect(exitstatus).to eq(42) if exitstatus expect(last_command.stderr).to include("Activating bundler (999.999.999) failed:"). and include("To install the version of bundler this project requires, run `gem install bundler -v '999.999.999'`") |