Fixed test script to adapt to different ruby locations on different
vagrant boxes