Gem working, but still randomly getting superclass mismatch error, need someone to take a look