On May 30, 1:00 am, Brad Phelan <bradphe... / xtargets.com> wrote: > > Actually you can do this without even using the __END__. pyrb.rb can > > exit the process so it will never reach the rest of the original file. > > > T. > > I don't think that will work. I believe that Ruby will syntax check the > entire file before trying to execute any of it. Ah, right. Did something like this myself once but I had overlooked the fact that my variant code still passed for valid ruby. In any case, using a separate 'pyruby' runner would be the best way regardless. T.