projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16826: Moves configuration set-up to TestCase's setup() method.
[arvados.git]
/
services
/
api
/
config
/
boot.rb
diff --git
a/services/api/config/boot.rb
b/services/api/config/boot.rb
index f2830ae3166dc7fc2849feff72258dccca1e5f97..9605b584e9b4c94f42753fd58ac95fb35a04b048 100644
(file)
--- a/
services/api/config/boot.rb
+++ b/
services/api/config/boot.rb
@@
-1,6
+1,9
@@
-require 'rubygems'
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
# Set up gems listed in the Gemfile.
# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../
../Gemfile', __FILE
__)
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../
Gemfile', __dir
__)
-require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
+require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
\ No newline at end of file