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