working on a server in ruby