allow overriding the Gemfile location with BUNDLE_GEMFILE
Change-Id: Idba5b6d7186321fa795bfb2ca0dca39316884208 Reviewed-on: https://gerrit.instructure.com/15363 Tested-by: Jenkins <jenkins@instructure.com> Reviewed-by: Jacob Fugal <jacob@instructure.com>
This commit is contained in:
parent
8b9ec1b52f
commit
d9b75ead14
|
@ -12,7 +12,7 @@ end
|
|||
|
||||
begin
|
||||
# Set up load paths for all bundled gems
|
||||
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
|
||||
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
|
||||
Bundler.setup
|
||||
Encoding.default_internal = Encoding.default_external = 'UTF-8' if defined?(Encoding)
|
||||
rescue Bundler::GemNotFound
|
||||
|
|
Loading…
Reference in New Issue