20300: Rail 6.1 app:update.
[arvados.git] / services / api / config / boot.rb
index c70ab9591fe76ec2a8b19a4d32096e95d473d722..d69bd27dca71c3e9d54603faf3f44f1a0fd03bcb 100644 (file)
@@ -1,10 +1,3 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
 
-require 'rubygems'
-
-# Set up gems listed in the Gemfile.
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-
-require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
+require "bundler/setup" # Set up gems listed in the Gemfile.