Correct error preventing gem to be built