Topic: ruby scripts.rb with args

I can not find any informations about scripting in ruby on rails.
What I need is, to put an argument to script like
#ruby script.rb arg

I am not sure how to call this argument inside this script
Thanks

Re: ruby scripts.rb with args

puts ARGV[0] # etc

I can not find any informations about scripting in ruby on rails.

RoR scripts? Ruby scripts I think