Skip to content

Instantly share code, notes, and snippets.

@digitalfiz
Created May 11, 2018 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalfiz/1aef711761bf8edb076972e56cf6dd6c to your computer and use it in GitHub Desktop.
Save digitalfiz/1aef711761bf8edb076972e56cf6dd6c to your computer and use it in GitHub Desktop.
~/Projects/personal/railstest(master ✗) rails c
/home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/connection_adapters/connection_specification.rb:210:in `spec': undefined method `config' for #<Hash:0x00556a4a57fd28> (NoMethodError)
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:950:in `establish_connection'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/connection_handling.rb:60:in `establish_connection'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/railtie.rb:136:in `block (2 levels) in <class:Railtie>'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:51:in `each'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/base.rb:328:in `<module:ActiveRecord>'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0/lib/active_record/base.rb:27:in `<main>'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `block in require'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in `load_dependency'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `require'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:356:in `active_record_configured?'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:273:in `disconnect_database'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:107:in `preload'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
from /home/theuser/.rvm/gems/ruby-2.4.1/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
from /home/theuser/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/theuser/.rvm/rubies/ruby-2.4.1/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment