Apache/ ninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
Added by Matthew Rupert almost 14 years ago
I have Redmine running just fine with Webrick, but I'm having problems with Apache. I get the following in error_log. Can anyone assist?
[Mon Mar 14 11:54:41 2011] [notice] Digest: done
[Mon Mar 14 11:54:41 2011] [notice] FastCGI: process manager initialized (pid 28273)
[Mon Mar 14 11:54:41 2011] [warn] FastCGI: server "/opt/redmine/public/dispatch.fcgi" started (pid 28274)
[Mon Mar 14 11:54:41 2011] [notice] Apache/2.2.3 (Red Hat) DAV/2 mod_fastcgi/2.4.6 mod_fcgid/2.3.6 Phusion_Passenger/3.0.4 SVN/1.6.11 configured -- resuming normal operations
/opt/redmine-1.1.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine-1.1.2/vendor/rails/activesupport/lib/active_support.rb:56
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/../vendor/plugins/engines/lib/engines.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/../vendor/plugins/engines/boot.rb:8
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/environment.rb:27
from /opt/redmine/public/dispatch.fcgi:21:in `require'
from /opt/redmine/public/dispatch.fcgi:21
[Mon Mar 14 11:54:41 2011] [warn] FastCGI: server "/opt/redmine/public/dispatch.fcgi" (pid 28274) terminated by calling exit with status '1'
[Mon Mar 14 11:54:42 2011] [warn] FastCGI: server "/opt/redmine/public/dispatch.fcgi" started (pid 28297)
/opt/redmine-1.1.2/vendor/rails/activesupport/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine-1.1.2/vendor/rails/activesupport/lib/active_support.rb:56
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/../vendor/plugins/engines/lib/engines.rb:1
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/../vendor/plugins/engines/boot.rb:8
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /opt/redmine/public/../config/environment.rb:27
from /opt/redmine/public/dispatch.fcgi:21:in `require'
from /opt/redmine/public/dispatch.fcgi:21
@
"error_log" 39L, 3488C
Replies (1)
RE: Apache/ ninitialized constant ActiveSupport::Dependencies::Mutex (NameError) - Added by János Csárdi-Braunstein almost 14 years ago
This is an incompatibility between Rails 2.3.5 and recent versions of RubyGems. For Redmine RubyGems 1.3.1 or higher required, but Rails 2.3.5 don't work with RubyGems 1.5.0 and later.
Try this: Add
require 'thread'
to the config/boot.rb file.