From: Ben Bleything Date: 2006-10-28T00:47:38+09:00 Subject: Re: -bash: rails: command not found On Fri, Oct 27, 2006, matt neuburg wrote: > To find out where rails really is, say: > > find /usr -name "rails" Of course, this is going to take forever. If locate tells you a location, try that. If rails isn't there, run sudo updatedb and try again. It's pretty much only ever going to end up in a handful of places (unless you're on a really weird platform). /usr/bin, /usr/local/bin, /opt/local/bin (mac with dports)... If you have to use find, pass in -type f: find /usr -type f -name rails Which'll only find files, and run quicker than without. Ben