canvas-lms/bin/rails

17 lines
421 B
Ruby
Executable File

#!/usr/bin/env ruby
# frozen_string_literal: true
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'