Circular dependency detected while autoloading constant

后端 未结 2 1045
闹比i
闹比i 2021-01-16 13:56

After update my OS to Maverics im unable to make new project in rails. I always see only:

Circular dependency detected while autoloading constant LinksContro         


        
相关标签:
2条回答
  • 2021-01-16 14:41

    I had similar issue here https://stackoverflow.com/questions/20925323.

    Here is What happened, I was using Rails 4.0.2, which seems it cause issues with jQuery and/Or Turbolinks.

    When I downgraded Rails version to "4.0.0" in Gemfile and 'bundle update', I got no more issue.

    Checkout your Rails version, hope this helps.

    0 讨论(0)
  • 2021-01-16 14:46

    In my case, I have a module name TwitterRETRIEVER, while Rails seems to looking for TwitterRetriever. After correct this to follow Rails naming standard, this problem is gone.

    0 讨论(0)
提交回复
热议问题