[前][次][番号順一覧][スレッド一覧]

ruby-changes:56059

From: Hiroshi <ko1@a...>
Date: Sun, 9 Jun 2019 12:45:50 +0900 (JST)
Subject: [ruby-changes:56059] Hiroshi SHIBATA: 2c59c58a47 (trunk): Fixed wrong BUNDLE_BIN_PATH for ruby core.

https://git.ruby-lang.org/ruby.git/commit/?id=2c59c58a47

From 2c59c58a47db31e28757e1936dd355a98352b489 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sun, 9 Jun 2019 11:00:21 +0900
Subject: Fixed wrong BUNDLE_BIN_PATH for ruby core.


diff --git a/spec/bundler/bundler/shared_helpers_spec.rb b/spec/bundler/bundler/shared_helpers_spec.rb
index a040c29..f24d85c 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 https://github.com/ruby/ruby/blob/trunk/spec/bundler/bundler/shared_helpers_spec.rb#L401
 
       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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]