remove script/rails
use bin/rails Change-Id: Idebe66befc3a1e32833f13860587c9c4535998a1 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/259675 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Jacob Burroughs <jburroughs@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
parent
b0ce75bdd4
commit
ed0c836985
13
script/rails
13
script/rails
|
@ -1,13 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
||||
|
||||
# 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 File.expand_path('../../config/boot', expanded_path)
|
||||
require 'rails/commands'
|
Loading…
Reference in New Issue