diff options
Diffstat (limited to 'tasks/bundle_util.rb')
-rw-r--r-- | tasks/bundle_util.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tasks/bundle_util.rb b/tasks/bundle_util.rb index 91ffa1f317..ee75610cac 100644 --- a/tasks/bundle_util.rb +++ b/tasks/bundle_util.rb @@ -1,3 +1,4 @@ +require "bundler" require "shellwords" module BundleUtil @@ -56,7 +57,7 @@ module BundleUtil # Run the bundle command ruby_platforms = platform ? PLATFORMS[platform].join(" ") : "ruby" - cmd = Shellwords.join([bundle_platform, ruby_platforms, *args]) + cmd = Shellwords.join([Gem.ruby, "-S", bundle_platform, ruby_platforms, *args]) puts "#{prefix}#{Shellwords.join(["bundle", *args])}#{platform ? " for #{platform} platform" : ""}:" with_gemfile(gemfile) do puts "#{prefix}BUNDLE_GEMFILE=#{gemfile}" |