rails s でサーバーを起動しようとすると以下のようなエラーが出てしまいサーバーが起動できません。
どうするとサーバーを起動できるようになるのでしょうか
わかる方いたら教えていただけると幸いです
Ruby
1=> Booting Puma 2=> Rails 6.0.1 application starting in development 3=> Run `rails server --help` for more startup options 4Exiting 5Traceback (most recent call last): 6 51: from bin/rails:4:in `<main>' 7 50: from bin/rails:4:in `require' 8 49: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands.rb:18:in `<top (required)>' 9 48: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/command.rb:46:in `invoke' 10 47: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/command/base.rb:65:in `perform' 11 46: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch' 12 45: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command' 13 44: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run' 14 43: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `perform' 15 42: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:138:in `tap' 16 41: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:147:in `block in perform' 17 40: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:37:in `start' 18 39: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/commands/server/server_command.rb:77:in `log_to_stdout' 19 38: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:354:in `wrapped_app' 20 37: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:219:in `app' 21 36: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:319:in `build_app_and_options_from_config' 22 35: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in `parse_file' 23 34: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `new_from_string' 24 33: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in `eval' 25 32: from config.ru:in `<main>' 26 31: from config.ru:in `new' 27 30: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `initialize' 28 29: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in `instance_eval' 29 28: from config.ru:3:in `block in <main>' 30 27: from config.ru:3:in `require_relative' 31 26: from C:/Users/OzekiHaruya/sample_app/config/environment.rb:5:in `<top (required)>' 32 25: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/application.rb:363:in `initialize!' 33 24: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/initializable.rb:60:in `run_initializers' 34 23: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each' 35 22: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each' 36 21: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component' 37 20: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:347:in `call' 38 19: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:347:in `each' 39 18: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component' 40 17: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from' 41 16: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 42 15: from C:/Ruby25-x64/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each' 43 14: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/initializable.rb:61:in `block in run_initializers' 44 13: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `run' 45 12: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-6.0.1/lib/rails/initializable.rb:32:in `instance_exec' 46 11: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/railtie.rb:84:in `block in <class:Engine>' 47 10: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker.rb:27:in `bootstrap' 48 9: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/commands.rb:31:in `bootstrap' 49 8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:18:in `refresh' 50 7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/manifest.rb:83:in `load' 51 6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:51:in `public_manifest_path' 52 5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:47:in `public_output_path' 53 4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:43:in `public_path' 54 3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:84:in `fetch' 55 2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:88:in `data' 56 1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:91:in `load' 57C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/webpacker-4.2.0/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found C:/Users/OzekiHaruya/sample_app/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - C:/Users/OzekiHaruya/sample_app/config/webpacker.yml (RuntimeError) 58
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。