#!/usr/bin/env ruby require File.expand_path('../../config/environment', __FILE__) require "irb" if __FILE__ == $0 IRB.start(__FILE__) else # check -e option if /^-e$/ =~ $0 IRB.start(__FILE__) else IRB.setup(__FILE__) end end