From: Idan Sofer Date: 2002-11-14T15:54:28+09:00 Subject: Restarting ruby interepter Is there a way to restart the ruby interepter so it unloads all the classes and reloads the initial script? I'm writing something you might call "Ruby application server", Often a change in configuration or in one of the classes requries server restart. I took the approach of having a small "loader" script, which forks and loads the main script, waits until it dies, and repeating the process if it dies with certain exit code, It works, but I don't like doing things this way, I wonder if there is a cleaner way to do these stuff... Idan.