-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/03/2012 21:00, Phil Dobbin wrote: > On 10/03/2012 23:19, Phil Dobbin wrote: >> On 10/03/2012 21:50, Ryan Schmidt wrote: >
[snip] > >>> Something that is unrelated to MacPorts is happening. > >>> Installing a MacPorts port only installs files into >>> /opt/local. It does not touch your environment. Just running >>> node or most other programs should not alter your shell >>> environment either. > >>> I don't know how rvm works, but it sounds like it's fragile. >>> I'd talk to the developers of rvm for insight. > > >> OK, I'll run it by Michael Papis on the rvm list. > > It was an rvm problem which has now been patched. It can be applied > by pulling `rvm head` then `rvm reload` just in case anybody else > is using it or are reading the archives late one night scouring > the Internet with the same problem. After spending some time with Michal working on this, we've discovered that calling sudo either to selfupdate Mac Ports or to install a port, $PATH is altered. See gist: <https://gist.github.com/2037776> The first call to `rvm info` is in a clean shell, just opened. The second call is after `sudo port selfupdate` (the gist is pretty self-explanatory). Opening a new shell reverts the $PATH to how it is written in bash_profile. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPYPkBAAoJEKpMeDHWT5ADQqsIANlCGuGy1epPdzc9vukx/wX+ ZDDB6/ZlmvPkIxet61c9zhPTfgJxY5duAy4UVKdKGS+Rxe1Zw08wFVyyrDweh0Jf w/UI+rDx/QrWy1Wrf3dSGEug/WZUCI8k6AP5N4Z95HgmZoI3UMUOapTZQpybwYA0 8mQwsTSfEnhTRdaM2XO7N0hegO5ciSJzoLKDCOxCPCKnZSG6x2fbIKjX8qsBxu1B gqqd3vA4oFBv54ykRN7aZUdkDOuDUPJWbhVorq/1nGUSafYXIGA9bOG3glMNaAPu ShFBZe94T7ZMcrMaN0EbN4iGpYgW5nTPgZzLxZErugEqG2u8Gzzk9a6SlKKmwG8= =b4fC -----END PGP SIGNATURE----- _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
