Sha256: 9b426aa347c0a72862a07394f81e7103614d771a43f8260452f22e19b7aeaa49

Contents?: true

Size: 506 Bytes

Versions: 39

Compression:

Stored size: 506 Bytes

Contents

# encoding: utf-8
# immutable: string

IN_TRAVELING_RUBY = true

restorable_envs = ['LD_LIBRARY_PATH', 'RUBYOPT', 'RUBYLIB'].freeze
restorable_envs.each do |name|
  ENV[name] = ENV["ORIG_#{name}"]
  ENV.delete("ORIG_#{name}")
end

# We can't restore these environments now because they'll be used later.
# We just store the original values so that the program can decide what to do.
$OVERRIDDEN_ENVIRONMENTS = {
  'SSL_CERT_DIR'  => ENV['OLD_SSL_CERT_DIR'],
  'SSL_CERT_FILE' => ENV['OLD_SSL_CERT_FILE']
}

Version data entries

39 entries across 30 versions & 1 rubygems

Version Path
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.3.1 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.3.0 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.3.0 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.5 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.5 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.4 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.4 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.3 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.3 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.2 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.2 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.1 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.1 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.2.0 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.2.0 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.1.60 bin/traveling-ruby-2.2.2/l32/lib/restore_environment.rb
rb2exe-0.1.60 bin/traveling-ruby-2.2.2/l64/lib/restore_environment.rb
rb2exe-0.1.58 bin/traveling-ruby-2.2.2/lib/restore_environment.rb
rb2exe-0.1.57 bin/traveling-ruby-2.2.2/lib/restore_environment.rb