17417: Merge branch 'main' into 17417-add-arm64
[arvados.git] / apps / workbench / config / boot.rb
index f6d584d5611222a520085f2868b2bfb50ecf97e7..8153266683f6161a8666f74843ce6810d093ffc0 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 require 'rubygems'
 
 # Set up gems listed in the Gemfile.
@@ -5,12 +9,12 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
 
 require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
 
-# Use ORVOS_API_TOKEN environment variable (if set) in console
+# Use ARVADOS_API_TOKEN environment variable (if set) in console
 require 'rails'
-module OrvosApiClientConsoleMode
+module ArvadosApiClientConsoleMode
   class Railtie < Rails::Railtie
     console do
-      Thread.current[:orvos_api_token] ||= ENV['ORVOS_API_TOKEN']
+      Thread.current[:arvados_api_token] ||= ENV['ARVADOS_API_TOKEN']
     end
   end
 end