Skip to content

Commit

Permalink
Fixed wrong BUNDLE_BIN_PATH for ruby core.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jun 9, 2019
1 parent 44f7f09 commit 2c59c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/bundler/bundler/shared_helpers_spec.rb
Expand Up @@ -401,7 +401,7 @@

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
Expand Down

0 comments on commit 2c59c58

Please sign in to comment.