Restarting Rails with ‘Address Already in Use’

iTerm crashed on my this morning taking down my development Rails process. Now, I’m busy tailing cullect.com‘s production.log and listening to some podcasts so I didn’t want to restart1

A little Googling found John Nunemaker’s year-old, “Oops I did it again” post.

His tips worked. An I’m rewriting the following for Future Reference2:

$ ps aux | grep script/server

To get the process id you need to kill

$ kill [PID #]

1. My standard way of restarting Rails in this situation.
2. If memory serves, this was the name of the first inhouse blog I started .

Leave a Reply

Your email address will not be published. Required fields are marked *