fix startup error in tom-ruby