Good command to help fix gem problems:

gem pristine --all

Thanks to raggi in #eventmachine on freenode!