Documentation: fix grammar.
[arvados.git] / services / api / config / boot.rb
index 4489e58688ca642d8e0e9489f6896f49f9b89da6..9605b584e9b4c94f42753fd58ac95fb35a04b048 100644 (file)
@@ -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