From: Love U Ruby Date: 2013-02-14T03:22:34+09:00 Subject: Re: Ruby command line options s and S Another confusion here I am having I have wrote code as below : ++++++++++++++++++++++++++++++ #!/home/peter/script ruby puts "hello world" ++++++++++++++++++++++++++++++ Now when I am running it from the "/home/peter/" $ test.rb giving error as "bash: /home/aruprakshit/script/commandoptionstest.rb: Permission denied" $ ruby test.rb giving error as "ruby: No such file or directory -- commandoptionstest.rb (LoadError)" Then what the purpose of "#!/home/peter/script ruby" - help me to understand. Thanks -- Posted via http://www.ruby-forum.com/.