From: 7stud 7stud Date: 2007-03-07T20:37:14+09:00 Subject: Re: elseif v. elsif ?? Another question. The tutorial says: >Save this file as “ri20min.rb”, and run it as “ruby ri20min.rb”. and at the top of the file is the shebang: #!/usr/bin/env ruby If you run the program using 'ruby filename', do you need the shebang? I read something that said you only need the shebang if you want to execute programs using just the filename, e.g.: $ HelloWorld.rb also what does 'env' do? I read the man pages on the env function, and I can't figure out what it does in the shebang. -- Posted via http://www.ruby-forum.com/.