X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/609646134bcd8fc3a7fd500848220741ecc4a9d2..cabf89d1fd8b40a2624d101a95c6587bfdd91fed:/services/api/config/boot.rb diff --git a/services/api/config/boot.rb b/services/api/config/boot.rb index f2830ae316..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.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