I am running my rails application using the following
$script/server -d webrick
on my Ubuntu system , above command run the webrick s
You can start your server in the background by adding -d to your command. For instance:
-d
puma -d
To stop it, just kill whatever process is running on port 3000:
kill $(cat tmp/pids/server.pid)