--0016e6464ee2eb81d0046c7e1f22 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable or type:which ruby in your bash shell... then report the results 2009/6/16 Phil Romero <pdromero / gmail.com> > On Tue, Jun 16, 2009 at 9:14 AM, Paul M.<paul.maxfield007 / gmail.com> > wrote: > > Hassan Schroeder wrote: > >> On Tue, Jun 16, 2009 at 8:28 AM, Paul M. <paul.maxfield007 / gmail.com> > >> wrote: > >>> > >>> > ? What does > >>> > ï¿ï¿½ìs -l matz.rb > >>> > show? > >>> > >>> it shows: -rwxr-xr-x@ 1 paulmaxfield �ótaff ï¿5 16 Jun 09:26 matz.rb > >> > >> Wow. And in that same directory, > >> ./matz.rb > >> gives you a no such file or directory message?? Strange. > >> > >> Try this: > >> od -a matz.rb > >> > >> and post the result. > > > > Here you go: > > > > 0000000 # ! / u s r / b i n / r u b y nl > > 0000020 p u t s sp " H e l l o , sp M a t > > 0000040 z ! " > > 0000043 > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > > You might want to make sure that /usr/bin/ruby is actually there. > It might be a broken link or gimped binary. Try this test: > > /usr/bin/ruby ./matz.rb > > (make sure you're rooted in the same directory as the matz.rb script > or give the full path to matz.rb). As far as I know, Leopard ships > with ruby 1.8.6 patch 87 (?), so it should be there and functioning... > This is a pretty strange problem. > > --0016e6464ee2eb81d0046c7e1f22--