From: Matt Todd Date: 2006-07-29T06:05:17+09:00 Subject: Re: Calling a dynamically generated Ruby script from a .rb Or, maybe, in the generated file, have the main bit of code you want to execute defined in a function, and call it after requiring it? M.T.