From: jackster the jackle Date: 2008-10-16T02:53:54+09:00 Subject: Re: Setting Environmental Variables in Ruby script Sebastian Hungerecker wrote: > jackster the jackle wrote: >> I have a scipt that executes a shell command that requires my >> environment to be set so the script fails. Is there a way to add my >> profile settings into my ruby script? > > ENV["varname"] = "value" > > HTH, > Sebastian Thanks Sebastian...my ruby script takes all the variables without error but my script still fails so I must be missing something in my environment still. I'll have to do some more checking....thanks again jack -- Posted via http://www.ruby-forum.com/.