Circular dependency detected while autoloading constant · Issue #1697 · railsadminteam/rails_admin

Hi, I have a rails 4 project, with mongoid that mounts an grape api: mount MyProject::API => '/' When accessing <site>/admin I get the following exception: RuntimeError (Circular dependency detecte...</site>