Web server: Puma library: Sinatra is in use on cloud9.
When I changed the contents of the rb file and tried to restart the server in the terminal,
$ ruby ○○.rb -o $IP -p $PORT
Against
〜〜〜〜〜〜〜〜〜 Address already in use
Was returned.
When I looked it up, I got an error that I couldn't open it because Sinatra was already running in another terminal.
However, another terminal is not open in the first place, what should I do?
$ killall ruby
When I finished everything with the kill command and started it again, it was solved successfully.
If you don't understand it, it's a kill command!
Recommended Posts