From: Bob Smyph Date: 2008-12-19T03:56:18+09:00 Subject: Re: .profile in UNIX Tim Greer wrote: > > Sorry, I got you. I read the post too quickly and for some reason I > thought you said .plan (I should have known that sounded strange). > Indeed, the .profile is only set to work with shell, in the shell env, > which is why CGI, web server APIs/modules and rails don't read it. Did > you need to set any environments or did you want to emulate or somehow > use the shell vars naturally (assuming you can trust the > user's .profile)? If the only way to get this to work is to set the environment/variables or emulate them somehow in the Ruby script, that is what we will need to do. Any idea as how to do this? -- Posted via http://www.ruby-forum.com/.