I just installed facebook connect for my site, but without having edited something on the files that cast the error I get this:
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
/var/www/###/Rakefile:10:in `require'
(See full trace by running task with --trace)
In line 10 of my Rakefile you find:
require 'tasks/rails'
I haven’t edited ‘tasks/rails’… what is this Mutex and why does it now cast this error?
the error is probably thrown because some code that is in the module ActiveSupport::Dependencies wants to use the Mutex class, but the class for some reason can not be autoloaded.
Sometimes the problem lies not in the code, but in the environment – like conflicting gems, i guess the issue is that your freshly installed facebook connect messes up some parts in your system
It can help to look at the rake some:task –trace output, to determine which file causes the problem – maybe look for calls to facebook connect library, and then try to play with that file – comment out lines that might be causing your problem, to determine what has to be done.
To help you further one would need the stack trace, the list of your gems and their version used in the project and maybe steps what have you done while installing the facebook connect