raise an exception if the ruby source version isn't defined