Adding constrain for ruby version >1.9