/usr/local/bin appears to be in my path.

I deleted /usr/bin/ruby but not irb, and not /usr/lib/ruby dir  -  
should I delete these?

Julian.


On 03/08/2005, at 3:00 AM, Jim Menard wrote:

> Julian,
>
>
>> So, I did a "which ruby" and it said "/usr/bin" - which was   
>> interesting to me, because the make install script installed it  
>> into / usr/local/bin...
>> so I thought... I'll rm the /usr/bin one and link it to /usr/ 
>> local/ bin/ruby... so I did that... then all seemed well...  
>> downloaded the  rubygems 0.8 tar and untarred it... ran ruby  
>> setup.rb and it kinda  hung with an error... and it half-installed...
>> Any ideas on how to fix this? I have a feeling I didn't install  
>> ruby  1.8.2 properly or I didn't do some stuff I needed to do...
>>
>
> You probably installed it just fine, but you need to add /usr/local/ 
> bin to your path. The original ruby is in /usr/bin and its  
> libraries are in /usr/lib/ruby, but the version you installed put  
> ruby in /usr/local/bin and the libraries in /usr/local/lib/ruby.
>
> I'm not at my OS X machine right now, but I don't think I had to  
> mess with anything other than the path. I also deleted /usr/bin/ 
> ruby, /usr/bin/irb (I think), and the whole /usr/lib/ruby directory.
>
> Jim
> -- 
> Jim Menard, jimm / io.com, http://www.io.com/~jimm
> "A language that doesn't affect the way you think about  
> programming, is not
> worth knowing." -- Alan J. Perlis
>
>