Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alaveteli-usr@alaveteli:/var/www/alaveteli.myfoia.org/alaveteli$ bundle exec rails console RAILS_ENV=production
- DEPRECATION WARNING: Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead. (called from require at bin/rails:4)
- 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):
- 43: from bin/rails:4:in `<main>'
- 42: from bin/rails:4:in `require'
- 41: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/commands.rb:18:in `<top (required)>'
- 40: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/command.rb:46:in `invoke'
- 39: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/command/base.rb:69:in `perform'
- 38: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
- 37: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
- 36: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
- 35: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/commands/console/console_command.rb:95:in `perform'
- 34: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
- 33: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/command/actions.rb:28:in `require_environment!'
- 32: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/application.rb:337:in `require_environment!'
- 31: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require'
- 30: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency'
- 29: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require'
- 28: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require'
- 27: from /var/www/alaveteli.myfoia.org/alaveteli/config/environment.rb:5:in `<top (required)>'
- 26: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/application.rb:361:in `initialize!'
- 25: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/initializable.rb:60:in `run_initializers'
- 24: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
- 23: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
- 22: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
- 21: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `call'
- 20: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:347:in `each'
- 19: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
- 18: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
- 17: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
- 16: from /home/alaveteli-usr/.rbenv/versions/2.5.8/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
- 15: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/initializable.rb:61:in `block in run_initializers'
- 14: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `run'
- 13: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in `instance_exec'
- 12: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/railtie.rb:132:in `block in <class:Railtie>'
- 11: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in `on_load'
- 10: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in `each'
- 9: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'
- 8: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
- 7: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
- 6: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
- 5: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
- 4: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/railtie.rb:136:in `block (2 levels) in <class:Railtie>'
- 3: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/connection_handling.rb:57:in `establish_connection'
- 2: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/connection_specification.rb:143:in `resolve'
- 1: from /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/connection_specification.rb:241:in `resolve_connection'
- /home/alaveteli-usr/bundle/ruby/2.5.0/gems/activerecord-5.2.6/lib/active_record/connection_adapters/connection_specification.rb:260:in `resolve_symbol_connection': 'RAILS_ENV=production' database is not configured. Available: ["default", "development", "test", "production"] (ActiveRecord::AdapterNotSpecified)
Advertisement
Add Comment
Please, Sign In to add comment