Key Server Problem in Ruby