[jukebox] create lib and use it with ruby