From: Joel VanderWerf Date: 2009-02-18T10:07:40+09:00 Subject: Re: bang is not work!! Kyung won Cheon wrote: > OS is CentOs 4.7 > > $ ruby -v > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux] > > $ cat ruby_test > #!/usr/local/bin/ruby > > puts 'hello' > > $ ls -l > -rwxr-xr-x 1 gmc gmc 94 2월 17 19:11 ruby_test > > $ ruby_test > -bash: ruby_test: command not found > > ################ > # Why ??? > # Help Me!! > ################ What's the output of $ which ruby What happens with: $ ./ruby_test and $ ruby ruby-test -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407