From: "ara.t.howard" Date: 2008-04-13T00:15:26+09:00 Subject: Re: exec with environment? On Apr 12, 2008, at 8:23 AM, Marc Heiler wrote: > I believe something like > ENV['foo'] = 'bar' > is enough. > > You can try it, compile a small GNU configure program via ruby > ENV['CFLAGS'] = 'O2' > should work, I am quite confident that it will work. only if you are into clobbering the environment of the parent - otherwise you need to push and pop the env or fork to start with a fresh copy just a note for posterity a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama