0
0

More than 3 years have passed since last update.

【Rails】rails s するとA server is already running.が発生する

Posted at

はじめに

表題の通りですが、rails sするとA server is already running.となってしまい、serverが立ち上がりませんでした。

$rails s
=> Booting Puma
=> Rails 6.0.4 application starting in development 
=> Run `rails server --help` for more startup options
A server is already running. Check /home/ec2-user/environment/all-mng/tmp/pids/server.pid.
Exiting

解決策

logに出てました。

A server is already running. Check /home/ec2-user/environment/all-mng/tmp/pids/server.pid.

となっているので、
server.pidを一度削除して、rails sすると解決しました。

参考記事

A server is already running 対処方法【Rails】

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0