mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Inject the GEM_HOME that bundler into puma-wild's env. Fixes #653
This commit is contained in:
parent
e74a9f748a
commit
a72c346964
1 changed files with 5 additions and 0 deletions
|
@ -473,8 +473,13 @@ module Puma
|
||||||
|
|
||||||
if puma_lib_dir
|
if puma_lib_dir
|
||||||
log "* Pruning Bundler environment"
|
log "* Pruning Bundler environment"
|
||||||
|
|
||||||
|
home = ENV['GEM_HOME']
|
||||||
|
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
|
|
||||||
|
ENV['GEM_HOME'] = home
|
||||||
|
|
||||||
wild = File.expand_path(File.join(puma_lib_dir, "../bin/puma-wild"))
|
wild = File.expand_path(File.join(puma_lib_dir, "../bin/puma-wild"))
|
||||||
|
|
||||||
wild_loadpath = dirs.join(":")
|
wild_loadpath = dirs.join(":")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue