Fixed gem generation problem