Fix issue with additional dash in 2.1.x ruby versions