X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fb3c02b38a24cda422de95f2f8b49002b841cc72..3a71184cf3eb44143ea77aa795695dcd8eb7e45d:/services/api/config/boot.rb diff --git a/services/api/config/boot.rb b/services/api/config/boot.rb index 4489e58688..9605b584e9 100644 --- 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. -ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) +ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) -require 'bundler/setup' if File.exists?(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