railsチュートリアルのエラー解決方法を教えて頂けると嬉しいです。
解決したいこと
railsチュートリアルで
rails generate scaffold User name:string email:stringを入力した時にエラーが発生するため
解決したいです。
発生している問題・エラー
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 /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:287:in `load': /home/ec2-user/environment/toy_app/config/routes.rb:3: syntax error, unexpected end-of-input, expecting end (SyntaxError)
自分で試したこと
Googleでエラーの解決方法を調べました。
0 likes