From: Tammo Tjarks Date: 2008-06-08T20:53:42+09:00 Subject: changing the environment for current process I have the following situation: I require an additional library, not part of the current search path. I have done that simply by: $:.push() and that would work fine if I would not need shared libs. I tried to simply set ENV['LD_LIBRARY_PATH'] = ENV['LD_LIBRAY_PATH']+':'+ but that seems not to work, the shared library is not found. It only works when I make an setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH: before I start the script. Is there a way to modify the environment for the current ruby process? I would like to have the possibilites usually enabled by module ( a tool where the environment can be altered with , where no ruby support seems to exist). Regards, Tammo