set GEM_HOME via Gem.paths
This commit is contained in:
parent
f92600b406
commit
b285fa07d5
|
@ -35,7 +35,9 @@ ENV["BUNDLE_GEMFILE"] = #{gemfile.dump}
|
||||||
ENV.delete 'BUNDLE_PATH'
|
ENV.delete 'BUNDLE_PATH'
|
||||||
ENV['BUNDLE_FROZEN'] = '1'
|
ENV['BUNDLE_FROZEN'] = '1'
|
||||||
|
|
||||||
$LOAD_PATH.unshift #{bundler_path.dump} + "/lib"
|
Gem.paths = { 'GEM_HOME' => #{bundle_path.dump} }
|
||||||
|
|
||||||
|
$LOAD_PATH.unshift #{File.join(bundler_path, "/lib").dump}
|
||||||
|
|
||||||
require 'bundler'
|
require 'bundler'
|
||||||
Bundler.setup(#{groups.map(&:dump).join(', ')})
|
Bundler.setup(#{groups.map(&:dump).join(', ')})
|
||||||
|
|
Loading…
Reference in New Issue