From: sto.mar@... Date: 2013-02-14T04:58:12+09:00 Subject: Re: Ruby command line options s and S Am 13.02.2013 19:22, schrieb Love U Ruby: > 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 Please google 'ruby shebang' --