Ruby problem

Ryan Schmidt ryandesign at macports.org
Wed Mar 14 14:43:54 PDT 2012


On Mar 14, 2012, at 15:35, Phil Dobbin wrote:

> On 14/03/2012 20:23, Jeremy Lavergne wrote:
>>> When MacPorts runs, it does of course clear most of the
>>> environment variables, including PATH, and set them to known-good
>>> values. But this should not affect anything outside of that
>>> MacPorts process. I don't know why your shell environment
>>> variables are changing in this way.
>> 
>> Perhaps rvm itself is manipulating things?
> 
> If Mac Ports clears most of the environment variables when run, should
> it not also return them to their original state before sudo was called
> when finished?

To the best of my knowledge, that's what it does. I don't recall anybody else ever reporting this problem before. So there's something strange either about your computer or about rvm.



More information about the macports-users mailing list