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

if File.exists?(File.join(File.expand_path('../..', __FILE__), '.git'))
  railties_path = File.expand_path('../../railties/lib', __FILE__)
  $:.unshift(railties_path)
end
require "rails/cli"