Fixed errors setting gem versions.