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

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

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