前提・実現したいこと
rails sを実行させたいです。
このエラー文は他のアプリケーションでrails sをしてもなってしまいます。
すごく長いエラー文ですいません
誰か教えてくださるとすごく助かります
よろしくお願い致します。
発生している問題・エラーメッセージ
rails sを実行した際にエラー文が表示されます。
rails sの実行結果 Booting Puma => Rails 5.2.4.1 application starting in development => Run `rails server -h` for more startup options Exiting Traceback (most recent call last): 81: from bin/rails:3:in `<main>' 80: from bin/rails:3:in `load' 79: from /vagrant/mevius/bin/spring:15:in `<top (required)>' 78: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' 77: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' 76: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>' 75: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load' 74: from /var/lib/gems/2.5.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>' 73: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run' 72: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call' 71: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call' 70: from /var/lib/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load' 69: from /vagrant/mevius/bin/rails:9:in `<top (required)>' 68: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' 67: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi' 66: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 65: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi' 64: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require' 63: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands.rb:18:in `<top (required)>' 62: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/command.rb:46:in `invoke' 61: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/command/base.rb:69:in `perform' 60: from /var/lib/gems/2.5.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 59: from /var/lib/gems/2.5.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 58: from /var/lib/gems/2.5.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 57: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:142:in `perform' 56: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:142:in `tap' 55: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:147:in `block in perform' 54: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:51:in `start' 53: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:89:in `log_to_stdout' 52: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/server.rb:424:in `wrapped_app' 51: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/commands/server/server_command.rb:27:in `app' 50: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/server.rb:251:in `app' 49: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/server.rb:351:in `build_app_and_options_from_config' 48: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:40:in `parse_file' 47: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:59:in `load_file' 46: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:65:in `new_from_string' 45: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:65:in `eval' 44: from config.ru:in `<main>' 43: from config.ru:in `new' 42: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:71:in `initialize' 41: from /var/lib/gems/2.5.0/gems/rack-2.1.2/lib/rack/builder.rb:71:in `instance_eval' 40: from config.ru:3:in `block in <main>' 39: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative' 38: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' 37: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi' 36: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' 35: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi' 34: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require' 33: from /vagrant/mevius/config/environment.rb:5:in `<top (required)>' 32: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/application.rb:361:in `initialize!' 31: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in `run_initializers' 30: from /usr/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each' 29: from /usr/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each' 28: from /usr/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component' 27: from /usr/lib/ruby/2.5.0/tsort.rb:347:in `call' 26: from /usr/lib/ruby/2.5.0/tsort.rb:347:in `each' 25: from /usr/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component' 24: from /usr/lib/ruby/2.5.0/tsort.rb:415:in `each_strongly_connected_component_from' 23: from /usr/lib/ruby/2.5.0/tsort.rb:415:in `call' 22: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `tsort_each_child' 21: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `each' 20: from /usr/lib/ruby/2.5.0/tsort.rb:421:in `block in each_strongly_connected_component_from' 19: from /usr/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from' 18: from /usr/lib/ruby/2.5.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from' 17: from /usr/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' 16: from /usr/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each' 15: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in `block in run_initializers' 14: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `run' 13: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `instance_exec' 12: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `block in <class:Engine>' 11: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `each' 10: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>' 9: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/engine.rb:662:in `load_config_initializer' 8: from /var/lib/gems/2.5.0/gems/activesupport-5.2.4.1/lib/active_support/notifications.rb:170:in `instrument' 7: from /var/lib/gems/2.5.0/gems/railties-5.2.4.1/lib/rails/engine.rb:663:in `block in load_config_initializer' 6: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load' 5: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load' 4: from /vagrant/mevius/config/initializers/devise.rb:5:in `<top (required)>' 3: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:58:in `load_missing_constant' 2: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `rescue in load_missing_constant' 1: from /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache' /var/lib/gems/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/active_support.rb:79:in `block in load_missing_constant': uninitialized constant Devise (NameError)
試したこと
uninitialized constant Devise (NameError)とエラー文が出たのでdeviseがうまく入っていないと思い
確認したところdevise (4.7.1)は入っていました。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/02/07 10:13
2020/02/07 10:36
2020/02/07 10:49
2020/02/07 10:53
2020/02/07 11:16
2020/02/07 12:59