mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed wrong BUNDLE_BIN_PATH for ruby core.
This commit is contained in:
parent
44f7f093ab
commit
2c59c58a47
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue