From: "Iñaki Baz Castillo" Date: 2009-12-23T10:26:21+09:00 Subject: How to pass commandline arguments to a file loaded with "irb -r file" ? Hi, I run "irb -r myfile.rb" and would like "myfile.rb" to receive commandline arguments, and these not to conflict with irb parameters. Is it possible? I couldn't get it. What I'd like is something as: ~# irb -r myfile.rb -p 9898 -s lala so ARGVinspected in "myfile.rb" would contain: ["-p", "9898", "-s", "lala"] Is it possible? Thanks a lot. -- Iñaki Baz Castillo