2011-06-28 12:09:34 +00:00
|
|
|
#!/usr/bin/env ruby
|
2017-08-14 17:08:09 +00:00
|
|
|
# frozen_string_literal: true
|
2011-09-12 16:05:11 +00:00
|
|
|
|
2017-05-15 14:17:28 +00:00
|
|
|
git_path = File.expand_path("../../.git", __dir__)
|
2013-04-21 22:30:16 +00:00
|
|
|
|
2013-11-01 09:39:06 +00:00
|
|
|
if File.exist?(git_path)
|
2017-05-15 14:17:28 +00:00
|
|
|
railties_path = File.expand_path("../lib", __dir__)
|
2011-09-12 16:05:11 +00:00
|
|
|
$:.unshift(railties_path)
|
|
|
|
end
|
|
|
|
require "rails/cli"
|