#!/usr/bin/env ruby ARGV.pop # remove --simple-prompt ARGV.push ARGV.shift # move the irt file to the end exec "irt_irb #{ARGV.join(' ')}"