X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..0020a0bc96ee13203fbdc2af28ffa077799213d0:/apps/workbench/config/environment.rb diff --git a/apps/workbench/config/environment.rb b/apps/workbench/config/environment.rb index d6b6a00e8d..cd706940a3 100644 --- a/apps/workbench/config/environment.rb +++ b/apps/workbench/config/environment.rb @@ -3,7 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0 # Load the rails application -require File.expand_path('../application', __FILE__) +require_relative 'application' # Initialize the rails application -ArvadosWorkbench::Application.initialize! +Rails.application.initialize!