Merge branch '17828-remove-bootsnap' refs #17828
[arvados.git] / apps / workbench / config / application.rb
index 18e6ef38d81dd92b0c0e2d96e0cfb9b6ddf13b31..2880af2d6d3c2db113977420498c20a25bffd90b 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
-require File.expand_path('../boot', __FILE__)
+require_relative 'boot'
 
 require "rails"
 # Pick only the frameworks we need:
@@ -27,6 +27,8 @@ end
 
 module ArvadosWorkbench
   class Application < Rails::Application
+    # The following is to avoid SafeYAML's warning message
+    SafeYAML::OPTIONS[:default_mode] = :safe
 
     require_relative "arvados_config.rb"