#!/usr/bin/env ruby

if %w[e engine].include? ARGV.first
  ARGV.shift # remove the first argument
  exec "#{__dir__}/rails-engine", *ARGV
else
  exec "#{__dir__}/rails-sandbox", *ARGV
end
