root@monitor:/opt/observium# service syslog-ng restartStarting system logging: syslog-ngsyslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted'
Linux monitor 2.6.32-042s
以下是我非常简单的能力课程: include CanCan::Ability
if user.has_roleTry logging in with an account that has admin priviledges." } end我想在不同的环境中嘲弄它。我觉得有点迷茫,因为即使我这样做:
expect(Ability).to recei