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