ruby server improved