Upgrade Ruby mode