From: Bertram Scharpf Date: 2007-12-26T08:48:12+09:00 Subject: Re: Calling Irb from inside an application Hi James, Am Dienstag, 25. Dez 2007, 23:01:54 +0900 schrieb James Tucker: > This was mercilessly stolen and adapted from a post on Errs blog (only > google has the answer ;): > > [...] > old_args = ARGV > ARGV.size.times { ARGV.shift } > [...] > old_args.each { |a| ARGV << a } > [...] The code is not actually mature. The clearing could be done by an ARGV.clear; this part won't work either because old_args will be cleared as well. Besides that the solution works perfectly. Thank you very much! Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de