From: "rpardee@..." Date: 2006-12-21T06:30:10+09:00 Subject: noob: How to make my script executable on unix? Hey All, At a bash prompt, if I say 'which ruby', I get back '/opt/csw/bin/ruby'. So I write a 2-line test script (test.rb): #!/opt/csw/bin/ruby puts("It works!") And I do a 'chmod +x test.rb'. But when I thereafter say 'test.rb', bash comes back with: bash: ./test.rb: bad interpreter: No such file or directory What am I doing wrong? Thanks! -Roy