Merge pull request #14061 from zimbatm/bundler-env-fix
bundlerEnv: fix wrapping of programs
This commit is contained in:
commit
06e4186f4e
@ -32,10 +32,8 @@ paths.each do |path|
|
|||||||
ENV["BUNDLE_GEMFILE"] = "#{gemfile}"
|
ENV["BUNDLE_GEMFILE"] = "#{gemfile}"
|
||||||
ENV["BUNDLE_PATH"] = "#{bundle_path}"
|
ENV["BUNDLE_PATH"] = "#{bundle_path}"
|
||||||
|
|
||||||
gem_path = ENV["GEM_PATH"]
|
Gem.use_paths("#{bundler_gem_path}", ENV["GEM_PATH"])
|
||||||
ENV["GEM_PATH"] = "\#{gem_path}\#{":" unless gem_path.nil? || gem_path.empty?}#{bundler_gem_path}"
|
|
||||||
|
|
||||||
require 'rubygems'
|
|
||||||
require 'bundler/setup'
|
require 'bundler/setup'
|
||||||
|
|
||||||
load Gem.bin_path(#{name.inspect}, #{exe.inspect})
|
load Gem.bin_path(#{name.inspect}, #{exe.inspect})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user