feature #1370: make novnc-server run in ruby 1.8.7