X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/edf37e92f885ed4d5bcf587317cc9c6d90d8ece1..c8b8aed986fc3a6436a71c85faa1a876e213695a:/services/api/config/environment.rb diff --git a/services/api/config/environment.rb b/services/api/config/environment.rb index e24eee035c..cac5315775 100644 --- a/services/api/config/environment.rb +++ b/services/api/config/environment.rb @@ -1,10 +1,5 @@ -# Copyright (C) The Arvados Authors. All rights reserved. -# -# SPDX-License-Identifier: AGPL-3.0 +# Load the Rails application. +require_relative "application" -# Load the rails application -require File.expand_path('../application', __FILE__) -require 'josh_id' - -# Initialize the rails application -Server::Application.initialize! +# Initialize the Rails application. +Rails.application.initialize!