From: Paul Lutus Date: 2006-11-25T15:50:07+09:00 Subject: Re: setting environment variables... ara.t.howard@noaa.gov wrote: > On Sat, 25 Nov 2006, Paul Lutus wrote: > >>>> if i use (in ruby app:) >>>> system(" RSWF_C=1; export RSWF_C" ) >> >>>> is this available to all other scripts called from this >>>> master ruby script? >> >> The answer is obvious, and I provided it. >> >> If instead his goal can be met by setting ENV variables within Ruby, then >> that solves the problem. But before suggesting this, I asked that the OP >> first explain what he is trying to do. > > then we are both right - the OP can solve his problem, but not the way he > intended. I agree that we are both right, but you are at least 10% more right than I am. :) I should have read his post more carefully -- I didn't spend enough time on it. -- Paul Lutus http://www.arachnoid.com