From: Chris Gehlker Date: 2001-12-30T12:22:33+09:00 Subject: [ruby-talk:29690] Re: Ruby 1.6.6 on MacOSX10.1.2 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 To edit invisible files in a Mac-like way, type the following in terminal open -e Please don't hesitate to ask questions, but if you just want to learn this Unix stuff, start at http://www.FreeBSD.org/. Almost everything there applies (except the X-Window stuff). I promised Matz a diff file that would make the installer put ruby, it's man pages, the whatis.db etc. in the places where Darwin expects them. This is just an matter of getting '/local' out of the paths. I'm still wading through the autoconf documentation. Maybe somebody who already understands autoconf could help? -- There is, nevertheless, a certain respect and a general duty of humanity that ties us, not only to beasts that have life and sense, but even to trees and plants. -Michel de Montaigne, essayist (1533-1592)