tracks/bin/rails

9 lines
289 B
Text
Raw Normal View History

2012-04-05 10:43:56 +02:00
#!/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'
2012-04-05 10:43:56 +02:00
require 'rails/commands'