I\'ve followed this tutorial (http://railscasts.com/episodes/236-omniauth-part-2) for creating facebook login with OmniAuth and Devise and I get this error: Circular depend
I had a similar problem.
And then realised I have the same file duplicated in different folders inside controller, and that was causing the problem.
I had both files with the same content:
app/controllers/logs_controller.rb app/controllers/api/logs_controller.rb