summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-09 11:00:21 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-09 12:44:31 +0900
commit2c59c58a47db31e28757e1936dd355a98352b489 (patch)
treea2d1aca5f6732f4348f367fa776022563e1356ee /spec
parent44f7f093ab8d8663cbbe31d8a975ae6e8d20724f (diff)
Fixed wrong BUNDLE_BIN_PATH for ruby core.
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/shared_helpers_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler/shared_helpers_spec.rb b/spec/bundler/bundler/shared_helpers_spec.rb
index a040c291d9..f24d85c241 100644
--- a/spec/bundler/bundler/shared_helpers_spec.rb
+++ b/spec/bundler/bundler/shared_helpers_spec.rb
@@ -401,7 +401,7 @@ RSpec.describe Bundler::SharedHelpers do
it "sets BUNDLE_BIN_PATH to the bundle executable file" do
subject.set_bundle_environment
- bundle_exe = ruby_core? ? "../../../../exe/bundle" : "../../../exe/bundle"
+ bundle_exe = ruby_core? ? "../../../../../bin/bundle" : "../../../exe/bundle"
expect(ENV["BUNDLE_BIN_PATH"]).to eq(File.expand_path(bundle_exe, __FILE__))
end
end