X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b2d0d31de409556fcd759e27efdb260ced6f3d3..fe5c9050c56be6828acead0e3c09c2195cde5b99:/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!