projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '12018-tool-docs'
[arvados.git]
/
apps
/
workbench
/
config
/
boot.rb
diff --git
a/apps/workbench/config/boot.rb
b/apps/workbench/config/boot.rb
index f6d584d5611222a520085f2868b2bfb50ecf97e7..8153266683f6161a8666f74843ce6810d093ffc0 100644
(file)
--- a/
apps/workbench/config/boot.rb
+++ b/
apps/workbench/config/boot.rb
@@
-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.
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'])
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
-# Use
ORV
OS_API_TOKEN environment variable (if set) in console
+# Use
ARVAD
OS_API_TOKEN environment variable (if set) in console
require 'rails'
require 'rails'
-module
Orv
osApiClientConsoleMode
+module
Arvad
osApiClientConsoleMode
class Railtie < Rails::Railtie
console do
class Railtie < Rails::Railtie
console do
- Thread.current[:
orvos_api_token] ||= ENV['ORV
OS_API_TOKEN']
+ Thread.current[:
arvados_api_token] ||= ENV['ARVAD
OS_API_TOKEN']
end
end
end
end
end
end