先ほど起動したはずなのに起動しなくなりました。bundle installをしてもtrace backていうエラーが出ます。Nameerrorがでているので名前が違うのからなのでしょうか。解決方法を教えてください。
ruby
1=> Booting Puma 2=> Rails 5.2.4.2 application starting in development 3=> Run `rails server -h` for more startup options 4Exiting 5Traceback (most recent call last): 6 50: from bin/rails:9:in `<main>' 7 49: from bin/rails:9:in `require' 8 48: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands.rb:18:in `<top (required)>' 9 47: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command.rb:46:in `invoke' 10 46: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command/base.rb:69:in `perform' 11 45: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 12 44: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 13 43: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 14 42: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `perform' 15 41: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `tap' 16 40: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:147:in `block in perform' 17 39: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:51:in `start' 18 38: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout' 19 37: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:422:in `wrapped_app' 20 36: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:27:in `app' 21 35: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:249:in `app' 22 34: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/server.rb:349:in `build_app_and_options_from_config' 23 33: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:66:in `parse_file' 24 32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:105:in `load_file' 25 31: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `new_from_string' 26 30: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rack-2.2.2/lib/rack/builder.rb:116:in `eval' 27 29: from config.ru:3:in `block in <main>' 28 28: from config.ru:3:in `require_relative' 29 27: from C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/config/environment.rb:5:in `<top (required)>' 30 26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/application.rb:361:in `initialize!' 31 25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers' 32 24: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each' 33 23: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each' 34 22: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component' 35 21: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `call' 36 20: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:347:in `each' 37 19: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component' 38 18: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:415:in `each_strongly_connected_component_from' 39 17: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:415:in `call' 40 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `tsort_each_child' 41 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:50:in `each' 42 14: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:421:in `block in each_strongly_connected_component_from' 43 13: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from' 44 12: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' 45 11: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 46 10: from C:/Ruby26-x64/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each' 47 9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers' 48 8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `run' 49 7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec' 50 6: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `block in <class:Engine>' 51 5: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:619:in `each' 52 4: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>' 53 3: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:662:in `load_config_initializer' 54 2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.4.2/lib/active_support/notifications.rb:170:in `instrument' 55 1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/engine.rb:663:in `block in load_config_initializer' 56C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/config/initializers/application_controller_renderer.rb:10:in `<top (required)>': uninitialized constant Refile (NameError) 57 58Traceback (most recent call last): 59 2: from C:/Ruby26-x64/bin/bundle:23:in `<main>' 60 1: from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:296:in `activate_bin_path' 61C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:277:in `find_spec_for_exe': Could not find 'bundler' (1.17.2) required by your C:/Users/183301/Documents/GitHub/Showman-corporation/sample008_ver0.2/Gemfile.lock. (Gem::GemNotFoundException) 62To update to the latest version installed on your system, run `bundle update --bundler`. 63To install the missing version, run `gem install bundler:1.17.2` 64
バージョン
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
Rails 5.2.4.2
あなたの回答
tips
プレビュー