On Dec 28, 2009, at 17:35 , ad wrote:

> On Dec 28, 5:19 pm, Ryan Davis <ryand-r... / zenspider.com> wrote:
>> On Dec 28, 2009, at 13:20 , ad wrote:
>> 
>>> Is there a way to set up this variable through apache?
>> 
>> http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv
> 
> 
> Looks like there is a bug in mod_env which doesnt take the modified
> path.
> https://issues.apache.org/bugzilla/show_bug.cgi?id=43906
> 
> I eventually modified apachectl script and added the path in the
> configuration section.
> PATH=$PATH:/opt/ruby/bin ;
> export PATH

you could modify /etc/profile instead.