前提・実現したいこと
DB作成のためにrails db createを打ちましたがエラーが出てしまいます。
発生している問題・エラーメッセージ
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 <top (required)> at /Users/ユーザー名/Desktop/フォルダ名/mynews/gao/bin/rails:9)
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
該当のソースコード
rails db create
試したこと
rails db create -e
補足情報(FW/ツールのバージョンなど)
ここにより詳細な情報を記載してください。
Rails 5.2.3
mysql 5.7.24
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。