improve checking of RUBY_ENGINE
toward unifying play_jukebox and jplay_jukebox