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 got same problem with some classes in lib (used config.autoload_paths += Dir["#{config.root}/lib/**/"])
config.autoload_paths += Dir["#{config.root}/lib/**/"]
for me helped to switch rails from 4.0.0.rc1 to 4.0.0
4.0.0.rc1
4.0.0