Home>

I typed the following code in the terminal to open the Ruby on Rails page.

% rails s

=>Booting Puma
=>Rails 6.0.3.4 application starting in development
=>Run `rails server --help` for more startup options
Puma starting in single mode ...
* Version 4.3.6 (ruby 2.7.2-p137), codename: Mysterious Traveler
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp: //127.0.0.1:3000
* Listening on tcp: // [:: 1]: 3000
Use Ctrl-C to stop
Started GET "/" for :: 1 at 2020-11-17 01:20:19 +0900
ActiveRecord :: NoDatabaseError (FATAL: database "ooeakio_development" does not exist
):
activerecord (6.0.3.4) lib/active_record/connection_adapters/postgresql_adapter.rb: 50: in `rescue in postgresql_connection'
activerecord (6.0.3.4) lib/active_record/connection_adapters/postgresql_adapter.rb: 33: in `postgresql_connection'
activerecord (6.0.3.4)
・ ・
・ ・
・ ・
(Omitted)
・ ・
・ ・
・ ・
puma (4.3.6) lib/puma/configuration.rb: 228: in `call'
puma (4.3.6) lib/puma/server.rb: 713: in `handle_request'
puma (4.3.6) lib/puma/server.rb: 472: in `process_client'
puma (4.3.6) lib/puma/server.rb: 328: in `block in run'
puma (4.3.6) lib/puma/thread_pool.rb: 134: in `block in spawn_thread'

On the contrary, the code does not work. Please tell me what to do.