canvas-lms/bin/rails

15 lines
390 B
Plaintext
Raw Normal View History

#!/usr/bin/env ruby
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
# 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)
require_relative '../config/boot'
require 'rails/commands'