From: Xavier Noria Date: 2009-08-29T23:16:39+09:00 Subject: Re: Update latest Ruby Version 1.9 on Mac OSX On Sat, Aug 29, 2009 at 3:41 PM, Luca Reghellin wrote: > Christian wrote: >> Just install MacPorts and then install 1.9 > > Hi! I installed ruby19 with macports (1.8.0) on Leopard, but still can't > use ruby 1.9. > > ruby -v: 1.8.6 > > which ruby: /usr/bin/ruby I had /usr/local/bin in /etc/profile and it was being ignored after upgrade to SL. I've not investigated why, but by trial and error I discovered that /etc/paths no honors order (if I am not mistaked it didn't, or the system ignored extra entries... don't remember the exact gotcha but there was one). So my /etc/profile, /etc/bashrc and /etc/paths.d are system defaults now, and just edited /etc/paths to put /usr/local/bin at the top.