diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-09 11:00:21 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-10 21:04:16 +0900 |
commit | ddeb882636ad4f6e053a784ebeddb1e1b4b5d1fa (patch) | |
tree | df92b266d154a74e270a073265144d57f1dbac1a | |
parent | 13c737eb46563480cf228c98350e4d4599436663 (diff) | |
download | bundler-ddeb882636ad4f6e053a784ebeddb1e1b4b5d1fa.tar.gz |
Fixed wrong BUNDLE_BIN_PATH for ruby core.
-rw-r--r-- | spec/bundler/shared_helpers_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb index a040c291d9..f24d85c241 100644 --- a/spec/bundler/shared_helpers_spec.rb +++ b/spec/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 |