X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a95c9948e04eab66cbb3aa4e93776c52956fc807..b68d2d12f4dff73d371297688d84f32289c06907:/services/api/config/environment.rb diff --git a/services/api/config/environment.rb b/services/api/config/environment.rb index e24eee035c..cd706940a3 100644 --- a/services/api/config/environment.rb +++ b/services/api/config/environment.rb @@ -3,8 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0 # Load the rails application -require File.expand_path('../application', __FILE__) -require 'josh_id' +require_relative 'application' # Initialize the rails application -Server::Application.initialize! +Rails.application.initialize!