Gem spec didn't work as expected