From: jackster the jackle Date: 2009-12-19T05:55:16+09:00 Subject: Re: Setting Windows Enviroment in Ruby Script Thanks alot for the help Luis...that worked perfectly for what I needed. jack Luis Lavena wrote: > On Dec 18, 2:24�pm, jackster the jackle wrote: >> I need to set the following windows environment variable at the >> beginning of my script: >> >> � � set http_proxy=http://10.1.1.1:8080 >> > > ENV['http_proxy'] = "http://10.1.1.1:8080" > > That will set the environment variable for your current process and > also will be transfered to the child process spawned by it. -- Posted via http://www.ruby-forum.com/.