Ruby gem for QMachine