Make sure the system ruby is used

Fixes bnc#845897.