tracks/bin/rails
Matt Rogers 859701a81f
Update configuration after the Rails upgrade
Ran `bin/rake rails:upgrade` and went through all the changes.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-10-27 11:27:07 -05:00

8 lines
289 B
Ruby
Executable file

#!/usr/bin/env ruby
if ENV["RAILS_ENV"] != "production"
exec("#{__dir__}/../script/docker-environment", $PROGRAM_NAME, *ARGV) unless File.exist?("/etc/app-env")
end
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'