X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/edf37e92f885ed4d5bcf587317cc9c6d90d8ece1..8a27fe370239ecb8e50d53f46b45ed61203a35ca:/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!