summaryrefslogtreecommitdiff
path: root/bin/rails
blob: 6dbbbc36e77884f0fe3b168f5e248911371c7dc9 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env ruby

if %w[g generate].include? ARGV.first
  exec "#{__dir__}/rails-engine", *ARGV
else
  exec "#{__dir__}/rails-sandbox", *ARGV
end