Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
6.1 kB
2
Indexable
Never
[root@rails-automate-green-56cc4c54b8-jj55m railsApp]# rails c
/home/app/railsApp/config/application.rb:141: warning: already initialized constant AUDIT_LOG_FILTERS
/home/app/railsApp/config/application.rb:140: warning: previous definition of AUDIT_LOG_FILTERS was here
/home/app/railsApp/config/application.rb:145: warning: already initialized constant GTM_DATA
/home/app/railsApp/config/application.rb:144: warning: previous definition of GTM_DATA was here
config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:

  * development - set it to false
  * test - set it to false (unless you use a tool that preloads your test environment)
  * production - set it to true

Traceback (most recent call last):
	47: from script/rails:6:in `<main>'
	46: from script/rails:6:in `require'
	45: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/commands.rb:18:in `<top (required)>'
	44: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/command.rb:46:in `invoke'
	43: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/command/base.rb:69:in `perform'
	42: from /usr/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
	41: from /usr/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
	40: from /usr/lib/ruby/gems/2.6.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
	39: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/commands/console/console_command.rb:101:in `perform'
	38: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
	37: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/command/actions.rb:28:in `require_environment!'
	36: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/application.rb:339:in `require_environment!'
	35: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in `require'
	34: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:291:in `load_dependency'
	33: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in `block in require'
	32: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/dependencies.rb:324:in `require'
	31: from /home/app/railsApp/config/environment.rb:5:in `<top (required)>'
	30: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/railtie.rb:190:in `method_missing'
	29: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/railtie.rb:190:in `public_send'
	28: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/application.rb:363:in `initialize!'
	27: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/initializable.rb:60:in `run_initializers'
	26: from /usr/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
	25: from /usr/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
	24: from /usr/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
	23: from /usr/lib/ruby/2.6.0/tsort.rb:347:in `call'
	22: from /usr/lib/ruby/2.6.0/tsort.rb:347:in `each'
	21: from /usr/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
	20: from /usr/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
	19: from /usr/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
	18: from /usr/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
	17: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/initializable.rb:61:in `block in run_initializers'
	16: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/initializable.rb:32:in `run'
	15: from /usr/lib/ruby/gems/2.6.0/gems/railties-6.0.3.6/lib/rails/initializable.rb:32:in `instance_exec'
	14: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/railtie.rb:198:in `block in <class:Railtie>'
	13: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:42:in `on_load'
	12: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:42:in `each'
	11: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'
	10: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
	 9: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
	 8: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
	 7: from /usr/lib/ruby/gems/2.6.0/gems/activesupport-6.0.3.6/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'
	 6: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/railtie.rb:201:in `block (2 levels) in <class:Railtie>'
	 5: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-import-1.0.8/lib/activerecord-import/import.rb:250:in `establish_connection'
	 4: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/connection_handling.rb:50:in `establish_connection'
	 3: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/connection_handling.rb:170:in `resolve_config_for_connection'
	 2: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/connection_adapters/connection_specification.rb:139:in `resolve'
	 1: from /usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/connection_adapters/connection_specification.rb:218:in `resolve_connection'
/usr/lib/ruby/gems/2.6.0/gems/activerecord-6.0.3.6/lib/active_record/connection_adapters/connection_specification.rb:250:in `resolve_symbol_connection': The `preprod` database is not configured for the `preprod` environment. (ActiveRecord::AdapterNotSpecified)

Available databases configurations are:

development
test
production
production_replica
automate
automate_replica
archive_automate_db
archive_appautomate_db
appautomate
appautomate_replica
speedlab