###急に
rails s を実行したら急にエラーが出るようになりました。
さっきまでは何ともなかったのに...
原因が分かりません。
<エラーメッセージ>
=> Booting Puma
=> Rails 5.2.3 application starting in development
=> Run rails server -h
for more startup options
Exiting
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/railtie/configuration.rb:97:in method_missing': undefined method
action_mailer' for #Rails::Application::Configuration:0x00000000066cd3a0 (NoMethodError)
from C:/Users/*** ***/homepage/config/environments/development.rb:34:in block in <top (required)>' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/railtie.rb:216:in
instance_eval'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/railtie.rb:216:in configure' from C:/Users/*** ***/homepage/config/environments/development.rb:1:in
<top (required)>'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in require' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in
block in require'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in load_dependency' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in
require'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/engine.rb:602:in block (2 levels) in <class:Engine>' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/engine.rb:601:in
each'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/engine.rb:601:in block in <class:Engine>' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in
instance_exec'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in run' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in
block in run_initializers'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:228:in block in tsort_each' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:350:in
block (2 levels) in each_strongly_connected_component'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:431:in
each_strongly_connected_component_from'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:421:in block in each_strongly_connected_component_from' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in
each'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in tsort_each_child' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:415:in
call'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:415:in each_strongly_connected_component_from' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:349:in
block in each_strongly_connected_component'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:347:in each' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:347:in
call'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:347:in each_strongly_connected_component' from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:226:in
tsort_each'
from C:/Ruby24-x64/lib/ruby/2.4.0/tsort.rb:205:in tsort_each' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in
run_initializers'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/application.rb:361:in initialize!' from C:/Users/*** ***/homepage/config/environment.rb:5:in
<top (required)>'
from config.ru:3:in require_relative' from config.ru:3:in
block in <main>'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in instance_eval' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in
initialize'
from config.ru:in new' from config.ru:in
<main>'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in eval' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in
new_from_string'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in parse_file' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/server.rb:319:in
build_app_and_options_from_config'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/server.rb:219:in app' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:27:in
app'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack/server.rb:354:in wrapped_app' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:89:in
log_to_stdout'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:51:in start' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:147:in
block in perform'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in tap' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands/server/server_command.rb:142:in
perform'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor/command.rb:27:in run' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in
invoke_command'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-0.20.3/lib/thor.rb:387:in dispatch' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/command/base.rb:65:in
perform'
from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/command.rb:46:in invoke' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in
<top (required)>'
from bin/rails:4:in require' from bin/rails:4:in
<main>'
あなたの回答
tips
プレビュー