summaryrefslogtreecommitdiff
path: root/spec/commands/exec_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/exec_spec.rb')
-rw-r--r--spec/commands/exec_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index a5d67c6d68..c1d6e4c25a 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -57,7 +57,7 @@ RSpec.describe "bundle exec" do
it "works when exec'ing to rubygems" do
install_gemfile 'gem "rack"'
- bundle "exec gem --version"
+ bundle "exec #{gem_cmd} --version"
expect(out).to eq(Gem::VERSION)
end