From 68ab2e79d0ac1593e0297139cf888980bf7cc087 Mon Sep 17 00:00:00 2001 From: Simon Williams Date: Mon, 31 Mar 2014 11:33:17 -0600 Subject: [PATCH] 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 Tested-by: Jenkins Product-Review: Simon Williams QA-Review: Simon Williams --- Gemfile.d/other_stuff.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.d/other_stuff.rb b/Gemfile.d/other_stuff.rb index aedd4ae08a9..704ac4eaad6 100644 --- a/Gemfile.d/other_stuff.rb +++ b/Gemfile.d/other_stuff.rb @@ -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