Sha256: 5a84690bcdddc5476980c1ab0a6cc04256b8b55081801b98135c3fbf487a808a
Contents?: true
Size: 516 Bytes
Versions: 4
Compression:
Stored size: 516 Bytes
Contents
# Restores Bundler ENV vars that were moved when spawning the Ansible process. # # See `//lib/qb/util/bundler.rb` for documentation on how and why we do this. # # Keep track of the ENV vars we overwrite so we can swap them back in # later when we need to do things like shell out. # $qb_replaced_env_vars = {} ENV.each do |k, v| if k.start_with? 'QB_BUNDLER_ENV_' key = k.sub 'QB_BUNDLER_ENV_', '' $qb_replaced_env_vars[key] = [ENV[key], v] ENV[key] = v end end require 'bundler/setup'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
qb-0.4.5 | load/rebundle.rb |
qb-0.4.4 | load/rebundle.rb |
qb-0.4.3 | load/rebundle.rb |
qb-0.4.2 | load/rebundle.rb |