2014-07-17 23:52:07 +08:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
begin
|
|
|
|
load File.expand_path("../spring", __FILE__)
|
|
|
|
rescue LoadError
|
|
|
|
end
|
|
|
|
|
2021-03-02 03:52:29 +08:00
|
|
|
# added by instructure:
|
|
|
|
# resolve any symlinks in the file path, to avoid double-require issues
|
|
|
|
require 'pathname'
|
|
|
|
expanded_path = Pathname.new(__FILE__).realpath
|
|
|
|
|
|
|
|
APP_PATH = File.expand_path('../../config/application', expanded_path)
|
2014-09-17 01:11:24 +08:00
|
|
|
require_relative '../config/boot'
|
2014-07-17 23:52:07 +08:00
|
|
|
require 'rails/commands'
|