【Rails でエラー】database configuration does not specify adapter
dotinstall見ながらやってたら早速つまずいた。
サーバ立ち上げたらブラウザに以下の文言が。
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
コンソール見てみる。
エラー内容
ActiveRecord::AdapterNotSpecified (database configuration does not specify adapter):
データベースが指定されてない?
で、
環境変数RAILS_ENVにproduction / development / test のどれかを指定しないと
動かないことがわかって、.zshrcに以下を追記。
export RAILS_ENV=development