20300: Rail 6.1 app:update.
[arvados.git] / services / api / config / boot.rb
index f2830ae3166dc7fc2849feff72258dccca1e5f97..d69bd27dca71c3e9d54603faf3f44f1a0fd03bcb 100644 (file)
@@ -1,6 +1,3 @@
-require 'rubygems'
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
 
-# 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.