Mohammad Khan wrote:
This is going to be local to the script.
I want something like, global.
It will be for this script and all processes it spawns. Exactly how
shell does. And this is as global as you can ever achieve in Unix.
Gennady.
···
Mohammad
Gennady Bystritsky wrote:
Mohammad Khan wrote:
I would like to accomplish something like this in a ruby script
export RUBYLIB=$HOME/MyLib/
ENV['RUBYLIB'] = File.expand_path('~/MyLib/')
Gennady.