From: John Joyce Date: 2007-09-29T06:56:44+09:00 Subject: Re: mac - hpricot problems On Sep 28, 2007, at 3:29 PM, Sergio Ruiz wrote: > John Joyce wrote: >> could be a PATH issue. >> make sure it's installing to the right Ruby. >> If you used the Hivelogic method to install stuff, you will still >> have the old broken Ruby on your system. >> Also if you've installed anything else (Python for example) your path >> might have changed. >> there is also a gem path, but I don't recall the details, check the >> docs at rubygems.org > > hmm... > > i installed the hivelogic stuff.. built ruby, and put it in > /usr/local/bin.. > > i just checked, and the old broken ruby is at /usr/bin > > checking more into this.. > > and btw.. i do have python installed.. > > thanks! > -- > Posted via http://www.ruby-forum.com/. > Well, I posted on my own blog a few weeks ago, some software likes to use a different one of the various dot files (.profile, .bash_login, etc...) And when they do, you sometimes get trouble with the path variable generated. The different files all have a different precedence, sometimes a murky one. The best solution is to install whatever you need to install, then go and look in your home directory for any new dot files. Open any new dot files and inspect the path stuff. Adjust your preferred dot file with the new path info in the order you like, then comment out the stuff in the dot file you don't want to use. Leave a comment saying what was installed, and why it was commented out, then you have it if you need it ever to uninstall something. Sometimes lots of complex stuff all balances very delicately on the PATH alone!