13996: Tweak rake tasks
[arvados.git] / services / api / config / boot.rb
index f2830ae3166dc7fc2849feff72258dccca1e5f97..717101c2b2b6ccbacb9e01c587195b38e1bd8bb4 100644 (file)
@@ -1,6 +1,8 @@
-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'