I am running my rails application using the following
$script/server -d webrick
on my Ubuntu system , above command run the webrick s
if it can be useful, on linux you can find which process is using a port (in this case 3000) you can use:
lsof -i :3000
it'll return the pid too