1
0
Fork 0
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:
Evan Phoenix 2015-02-11 15:43:17 -08:00
parent e74a9f748a
commit a72c346964

View file

@ -473,8 +473,13 @@ module Puma
if puma_lib_dir
log "* Pruning Bundler environment"
home = ENV['GEM_HOME']
Bundler.with_clean_env do
ENV['GEM_HOME'] = home
wild = File.expand_path(File.join(puma_lib_dir, "../bin/puma-wild"))
wild_loadpath = dirs.join(":")