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

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"