Ruby problem

Phil Dobbin phildobbin at gmail.com
Sat Mar 10 15:19:42 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/03/2012 21:50, Ryan Schmidt wrote:
> 
> On Mar 10, 2012, at 10:37, Phil Dobbin wrote:
> 
>> Regarding this problem, again today I did some work using nodejs
>> in a shell which rvm had allocated as Ruby 1.9.3 (the value of
>> `which ruby` confirmed this before I started with node) & after
>> finishing work on node running `which ruby` returned
>> /opt/local/bin/ruby.
>> 
>> Nodejs is installed into /opt/local.
>> 
>> Running otool -L on both Ruby versions returns:
>> 
>> `[Sat Mar 10 16:29:15 dobbin at darkstar:~ ] $ otool -L 
>> /Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/ruby 
>> /Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/bin/ruby: 
>> /Users/dobbin/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.1.9.1.dylib 
>> (compatibility version 1.9.1, current version 1.9.1) 
>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
>> version 125.2.11) /usr/lib/libobjc.A.dylib (compatibility version
>> 1.0.0, current version 227.0.0) [Sat Mar 10 16:29:35
>> dobbin at darkstar:~ ] $ otool -L /opt/local/bin/ruby 
>> /opt/local/bin/ruby: /opt/local/lib/libruby.dylib (compatibility
>> version 1.8.0, current version 1.8.7) /usr/lib/libSystem.B.dylib
>> (compatibility version 1.0.0, current version 125.2.11) 
>> /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
>> version 227.0.0)`
>> 
>> If anyone could shed any light on what's happening here I'd be
>> grateful.
> 
> 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.

Thanks, Ryan.

- -- 
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/

iQEcBAEBAgAGBQJPW+GHAAoJEKpMeDHWT5AD5ngIAJmulRyMpz9xFgRxoqnIWz7w
5Vgu/4aTJ4UAUQShqcUOkSU9eGC3ppzNHipqZvcHsFwoa0XQnQkceT4qruwMtUK0
gnmXj1bODrS12wlFwInKc6K0iFJNRjjt8unetEGWIutSbm7z6s4c6tDXO51AC0/9
X9NnLCUq1RuHhT0Z6ms/QgF/V+53ekZjO4EVLe+MPdyfmnVsZYKQrR1kHhwr2bBt
WQIXVaP84xILGBs6eecSKe9kvQCd4hzwgsPrwSUGPxacz7X7B1bOMQMCe7p1Xxe4
0izUbkGM/IqheV9LK+pmSoNYfHPd4jWtBGDxoVYO/8MxrNZNNXhnSwsQUk1/YiI=
=eqnJ
-----END PGP SIGNATURE-----


More information about the macports-users mailing list