From: Jeff Fox Date: 2001-12-30T12:44:30+09:00 Subject: [ruby-talk:29693] Re: Ruby 1.6.6 on MacOSX10.1.2 On Saturday, December 29, 2001, at 09:22 PM, Chris Gehlker wrote: > On 12/29/01 1:16 PM, "george girton" wrote: > >> I have compiled and installed 1.6.6 on MacOSX10.1.2 >> using the December developer tools. And it works! >> I did have to become superuser for a moment to do this: >> make install >> >> But I have one question, Ruby only runs when >> I say >> /usr/local/bin/ruby >> at the % prompt >> >> and I want to make it short instead, and just say >> %ruby >> >> Maybe this is not a Ruby question, but a >> Unix question. Can someone tell me how to make >> the system search for Ruby executable in /usr/local/bin ? >> >> thanks! > > Assuming you're running tcsh, add this to the .tcshrc file in your home > directory: > > setenv PATH {$PATH}:/usr/local/bin When I finished building and installing ruby I had to execute "rehash" in order to get ruby and irb to execute without a fully qualified path. /usr/local/bin was already in my PATH. Starting a new terminal session would work as well. Jeff