Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Authorization_rules requires ruby_parser and it is not working #138

kelso opened this Issue · 2 comments

3 participants


I'm trying to use built-in feature - authorization rules browser. So I added to authorization_rules.rb:

has_permission_on :authorization_rules, :to => :read

When I open http://localhost:3000//authorization_rules

RuntimeError in AuthorizationRulesController#index
Authorization::DevelopmentSupport::Analyzer requires ruby_parser gem

For sure I run

$ gem install ruby_parser

And nothing... same error again. Am I doing something wrong?


We should probably disable the authorization rules browser for now. It is not core functionality and I don't have time to debug this right now.


I know its been a couple years, but is there any update on this issue? Just ran into it myself this morning ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.