From: Johnnie Lieske Date: 2008-11-28T01:04:10+09:00 Subject: Shebang! line not recognized in OS X Leopard?? Hi Newbie to Ruby. Going through the O'Reily book I get this bit of code for creating a hello world script. The shebang line is suppossed to make it so I don't have to type "ruby" before executing my scripts: #!/usr/local/bin/ruby # a nice greeting for Matz puts "Hello, Matz!" Problem is that I get this when I run the script: Pinky:rubes pink$ matz.rb -bash: matz.rb: command not found I've searched everywhere for an answer but probably don't know how to pose the question. The path to ruby on my computer is actually /usr/bin/ruby and not /usr/local/bin/ruby I change the code in the script but still get the same error. It's stupid but I am anal and feel like I can't go on.... Any help greatly appreciated. Thanks! -- Posted via http://www.ruby-forum.com/.