Skip to content

Instantly share code, notes, and snippets.

@hchood
Created September 11, 2020 15:36
Show Gist options
  • Save hchood/fd92055a93ac318e60b89008cf67cd02 to your computer and use it in GitHub Desktop.
Save hchood/fd92055a93ac318e60b89008cf67cd02 to your computer and use it in GitHub Desktop.
(erb):5:in `fetch': Cannot load database configuration:
key not found: "DATABASE_NAME"
Did you mean? "DATABASE_PORT"
"DATABASE_HOST"
"DATABASE_USERNAME" (KeyError)
from (erb):5:in `<main>'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/erb.rb:905:in `eval'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/erb.rb:905:in `result'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/application/configuration.rb:172:in `database_configuration'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.4/lib/active_record/railtie.rb:133:in `block (2 levels) in <class:Railtie>'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:71:in `instance_eval'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:62:in `with_execution_control'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:67:in `execute_hook'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:42:in `each'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/lazy_load_hooks.rb:42:in `on_load'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activerecord-5.2.4.4/lib/active_record/railtie.rb:132:in `block in <class:Railtie>'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/initializable.rb:32:in `instance_exec'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/initializable.rb:32:in `run'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/initializable.rb:61:in `block in run_initializers'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:228:in `block in tsort_each'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `each'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `call'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:347:in `each_strongly_connected_component'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:226:in `tsort_each'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/tsort.rb:205:in `tsort_each'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/initializable.rb:60:in `run_initializers'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.4/lib/rails/application.rb:361:in `initialize!'
from /Users/helenhood/gumroad/web/config/environment.rb:7:in `<main>'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:106:in `preload'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:157:in `serve'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:145:in `block in run'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:139:in `loop'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application.rb:139:in `run'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.1/lib/spring/application/boot.rb:19:in `<top (required)>'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
from /Users/helenhood/.asdf/installs/ruby/2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72: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