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

git_path = File.expand_path("../../../.git", __FILE__)

if File.exist?(git_path)
  railties_path = File.expand_path("../../lib", __FILE__)
  $:.unshift(railties_path)
end
require "rails/cli"