canvas-lms/bin/rails

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
422 B
Plaintext
Raw Normal View History

#!/usr/bin/env ruby
# frozen_string_literal: true
begin
load File.expand_path("spring", __dir__)
rescue LoadError
nil
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"