allow choosing rails 5.1 via consul
also add a hook so plugins can preset $canvas_cluster Change-Id: I508ffc6e5c73e87f9f086dd9a3877833286bb83b Reviewed-on: https://gerrit.instructure.com/129327 Tested-by: Jenkins Reviewed-by:James Williams <jamesw@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com>
... | ... | @@ -12,8 +12,13 @@ |
# these gems to prevent regression, and the indentation serves to alert us to the relationship between the gem and canvas-lms | ||
source 'https://rubygems.org/' | ||
Dir[File.join(File.dirname(__FILE__), 'gems/plugins/*/Gemfile.d/_before.rb')].each do |file| | ||
eval(File.read(file), nil, file) | ||
end | ||
require File.expand_path("../config/canvas_rails5", __FILE__) | ||
Dir.glob(File.join(File.dirname(__FILE__), 'Gemfile.d', '*.rb')).sort.each do |file| | ||
eval(File.read(file), nil, file) | ||
end | ||
\ No newline at end of file | ||
end |
Please register or sign in to comment