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 That's normal. Instead of typing "script_name", type "./script_name". Unless you alias or move ruby_test to somewhere in your exec path, that is (and you probably don't want that). -- Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc. Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers and Custom Hosting. 24/7 support, 30 day guarantee, secure servers. Industry's most experienced staff! -- Web Hosting With Muscle!