Ruby on rails server on/off question

Asked 2 years ago, Updated 2 years ago, 54 views

From ruby-on-rails

The command to server on is rails -b $IP -p $PORT What's the point of turning it off?

Even if you do ctrl+c, only c is entered and the server does not die

c only

ruby-on-rails server ruby

2022-09-22 20:16

1 Answers

I don't think the server's going to die because you turned it to the background

ps aux | grep 3000

So if you find the project id and kill it, you'll die.


2022-09-22 20:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.