At 11:29 PM -0500 4/1/08, Rhett Sutphin wrote:
>Hi,
>
>On Apr 1, 2008, at 10:59 PM, Tal Rotbart wrote:
>>Hi there,
>>
>>I believe the problem stems because you are setting JAVA_HOME for your
>>user, but when you sudo, gem sees root's environment variables, and
>>those do not have JAVA_HOME set. I might be wrong though!
>
>Things run under sudo usually inherit the environment variables of the sudoer. However,
OS X 10.5 has a more restrictive default sudo configuration. See here for more details &
one fix:
>
>http://groups.google.com/group/buildr-talk/msg/5aa84b1dc9200ecf
>
>Rhett
Thanks Rhett -- I should have done a better search of the maillist first.
|