rbhive disables rolify, undefined method `relation_delegate_class' for Role:Class

陌路散爱 提交于 2019-12-12 04:53:50

问题


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.

来源:https://stackoverflow.com/questions/26865862/rbhive-disables-rolify-undefined-method-relation-delegate-class-for-roleclas

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!