fix path to RAILS_LTS file in Gemfile
fixes CNVS-12130 test plan: - have a RAILS_LTS file in a vendor/plugin folder - it should be found by bundler Change-Id: I9edeb6b24246b7bf5373367c168db77a14a35453 Reviewed-on: https://gerrit.instructure.com/32596 Reviewed-by: Anthus Williams <awilliams@instructure.com> Tested-by: Jenkins <jenkins@instructure.com> Product-Review: Simon Williams <simon@instructure.com> QA-Review: Simon Williams <simon@instructure.com>
This commit is contained in:
parent
a7213e5c76
commit
68ab2e79d0
|
@ -2,7 +2,7 @@ if CANVAS_RAILS2
|
|||
# If you have a license to rails lts, you can create a vendor/plugins/*/RAILS_LTS yaml file
|
||||
# with the Gemfile `gem` command to use (pointing to the private repo with your username/password).
|
||||
# Otherwise, the free community version of rails lts will be used.
|
||||
lts_file = Dir.glob(File.expand_path("../vendor/plugins/*/RAILS_LTS", __FILE__)).first
|
||||
lts_file = Dir.glob(File.expand_path("../../vendor/plugins/*/RAILS_LTS", __FILE__)).first
|
||||
if lts_file
|
||||
eval(File.read(lts_file))
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue