16314: Search both user and tmp paths for gems.
[arvados.git] / apps / workbench / config / application.rb
index 514d57196d3fcc802dbc83a640907bbf166ceb76..e88229b85158f200ebc6a7df644f9b147fcfd06f 100644 (file)
@@ -19,6 +19,10 @@ require "rails/test_unit/railtie"
 
 Bundler.require(:default, Rails.env)
 
+if ENV["ARVADOS_RAILS_LOG_TO_STDOUT"]
+  Rails.logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
+end
+
 module ArvadosWorkbench
   class Application < Rails::Application