コマンドにてrails s でサーバーを起動させようとすると、下記のようなコメントが出て
railsサーバーが立ち上がりません。
lsof -i :3000でサーバーの停止忘れがないか確認するが、起動しているサーバーIDはありませんでした。
yoshikawayuuki-no-MacBook-Pro:chat-space yoshikawayuuki$ rails s
=> Booting Puma
=> Rails 5.0.7.2 application starting in development on http://localhost:3000
=> Run rails server -h
for more startup options
Exiting
Traceback (most recent call last):
59: from bin/rails:3:in <main>' 58: from bin/rails:3:in
load'
57: from /Users/yoshikawayuuki/projects/chat-space/bin/spring:15:in <top (required)>' 56: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
require'
55: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' 54: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in
'
53: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in load' 52: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/bin/spring:49:in
'
51: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client.rb:30:in run' 50: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in
call'
49: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in call' 48: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in
load'
47: from /Users/yoshikawayuuki/projects/chat-space/bin/rails:9:in <top (required)>' 46: from /Users/yoshikawayuuki/projects/chat-space/bin/rails:9:in
require'
45: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands.rb:18:in <top (required)>' 44: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:49:in
run_command!'
43: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:85:in server' 42: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:85:in
tap'
41: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:90:in block in server' 40: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/server.rb:102:in
start'
39: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/server.rb:148:in log_to_stdout' 38: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:354:in
wrapped_app'
37: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/commands/server.rb:84:in app' 36: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:219:in
app'
35: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/server.rb:319:in build_app_and_options_from_config' 34: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:40:in
parse_file'
33: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in new_from_string' 32: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:49:in
eval'
31: from /Users/yoshikawayuuki/projects/chat-space/config.ru:in <main>' 30: from /Users/yoshikawayuuki/projects/chat-space/config.ru:in
new'
29: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in initialize' 28: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rack-2.0.7/lib/rack/builder.rb:55:in
instance_eval'
27: from /Users/yoshikawayuuki/projects/chat-space/config.ru:3:in block in <main>' 26: from /Users/yoshikawayuuki/projects/chat-space/config.ru:3:in
require_relative'
25: from /Users/yoshikawayuuki/projects/chat-space/config/environment.rb:5:in <top (required)>' 24: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/application.rb:352:in
initialize!'
23: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/initializable.rb:54:in run_initializers' 22: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:205:in
tsort_each'
21: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:226:in tsort_each' 20: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:347:in
each_strongly_connected_component'
19: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:347:in call' 18: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:347:in
each'
17: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:349:in block in each_strongly_connected_component' 16: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:431:in
each_strongly_connected_component_from'
15: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' 14: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tsort.rb:228:in
block in tsort_each'
13: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/initializable.rb:55:in block in run_initializers' 12: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/initializable.rb:30:in
run'
11: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/initializable.rb:30:in instance_exec' 10: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.0.7.2/lib/rails/application/finisher.rb:65:in
block in module:Finisher'
9: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:49:in run_load_hooks' 8: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:49:in
each'
7: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:50:in block in run_load_hooks' 6: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:65:in
execute_hook'
5: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:60:in with_execution_control' 4: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/lazy_load_hooks.rb:67:in
block in execute_hook'
3: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/i18n_railtie.rb:15:in block in <class:Railtie>' 2: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/i18n_railtie.rb:41:in
initialize_i18n'
1: from /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/i18n_railtie.rb:41:in each' /Users/yoshikawayuuki/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/i18n_railtie.rb:49:in
block in initialize_i18n': undefined