Restore system ruby detection

A hacky solution to a "problem" that could well be there on purpose :smiley_cat: