rails s でブラウザを起動すると、rails s が勝手にs終了してしまいます。
こんなメッセージが出ています。
weekday { 1 } To automatically update from static attributes to dynamic ones, install rubocop-rspec and run: rubocop \ --require rubocop-rspec \ --only FactoryBot/AttributeDefinedStatically \ --auto-correct (called from block (2 levels) in <top (required)> at /home/ec2-user/environment/team-todo/spec/factories/weekly_holidays.rb:7) DEPRECATION WARNING: Static attributes will be removed in FactoryBot 5.0. Please use dynamic attributes instead by wrapping the attribute value in a block: weekday { 4 } To automatically update from static attributes to dynamic ones, install rubocop-rspec and run: rubocop \ --require rubocop-rspec \ --only FactoryBot/AttributeDefinedStatically \ --auto-correct (called from block (2 levels) in <top (required)> at /home/ec2-user/environment/team-todo/spec/factories/weekly_holidays.rb:11) Puma starting in single mode... * Version 3.12.0 (ruby 2.4.0-p0), codename: Llamas in Pajamas * Min threads: 5, max threads: 5 * Environment: development * Listening on tcp://localhost:8080 Use Ctrl-C to stop ec2-user:~/environment/team-todo (issue) $
解決方法などわかるかたいましたらよろしくお願いいたします。
あなたの回答
tips
プレビュー