Upgrade a ruby 1.9 su mac

Ciao! Ma perché installando l’1.9 su mac (leopard) non lo vedo?
Perché se faccio ruby -v mi esce ancora 1.8.6? ma infatti mi pare che
macport installi i file in /usr/local/bin, mentre se scrivo which ruby
mi esce /usr/bin/ruby.

Il file .profile ha questi contenuti:


DELUXE-USR-LOCAL-BIN-INSERT

(do not remove this comment)

echo $PATH | grep -q -s “/usr/local/bin”
if [ $? -eq 1 ] ; then
PATH=$PATH:/usr/local/bin
export PATH
fi

Your previous /Users/stratboy2/.profile file was backed up as

/Users/stratboy2/.profile.macports-saved_2009-02-22_at_15:45:25

MacPorts Installer addition on 2009-02-22_at_15:45:25: adding an

appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH

Finished adapting your PATH environment variable for use with

MacPorts.

MacPorts Installer addition on 2009-02-22_at_15:45:25: adding an

appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH

Finished adapting your MANPATH environment variable for use with

MacPorts.


Qualcuno sa per caso come fare a far girare la mia copia aggiornata di
ruby e rails con macport?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs