I am facing a problem with rolify when adding the gem rbhive to my Gemset. In method user.has_role? the following error occurs: undefined method `relation_delegate_class' for Role:Class. Deleting the gem, the application runs without errors.
I used the following gems: cancancan 1.8.2, rolify 3.4.0, rbhive 1.0.2 pre and thrift 0.9.0.. I tried to reinstall all gems and different gem-versions. I need the connection to HiveServer2 through thrift client, HiveServer is not enough (this actually works).
I can't think of a possible reason for this behavior, since rbhive, rolify and cancancan don't have any dependencies on each other.