There are some posts on the web on this type of ruby error:
(http://stackoverflow.com/questions/5176782/uninitialized-constant-act...<http://www.google.com/url?sa=D&q=http://stackoverflow.com/questions/5176782/uninitialized-constant-activesupportdependenciesmutex-nameerror&usg=AFQjCNEt7yFbPObuk1F2YpyfNtqLF5klNQ>
)

I added the require 'thread' to config/boot.rb (despite the warning in the
file) and everything seemed to work after that.  If there's a better way to
solve this I'd like to hear it as well.


2012/6/1 Berry Sizemore <[email protected]>

> Hello,
>
> The create database step is failing on latest Gentoo:
>
> bundle exec rake db:create:allin /var/www/gitorious) rake aborted! 
> uninitialized constant ActiveSupport::Dependencies::Mutex 
> /var/www/gitorious/Rakefile:10:in `require' (See full trace by running task 
> with --trace)
>
> --trace shows const_missing
>
>
> bundle exec rake db:create:all --trace
> (in /var/www/gitorious)
> rake aborted!
> uninitialized constant ActiveSupport::Dependencies::Mutex
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in 
> `const_missing'
> /var/www/gitorious/vendor/rails/activesupport/lib/active_support/dependencies.rb:55
> /var/www/gitorious/vendor/rails/activesupport/lib/active_support.rb:56:in 
> `require'/var/www/gitorious/vendor/rails/activesupport/lib/active_support.rb:56/var/www/gitorious/vendor/rails/railties/lib/tasks/misc.rake:18:in
>  `require'
> /var/www/gitorious/vendor/rails/railties/lib/tasks/misc.rake:18
> /var/www/gitorious/vendor/rails/railties/lib/tasks/rails.rb:4:in `load'
> /var/www/gitorious/vendor/rails/railties/lib/tasks/rails.rb:4
> /var/www/gitorious/vendor/rails/railties/lib/tasks/rails.rb:4:in 
> `each'/var/www/gitorious/vendor/rails/railties/lib/tasks/rails.rb:4/var/www/gitorious/Rakefile:10:in
>  `require'
> /var/www/gitorious/Rakefile:10
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in 
> `raw_load_rakefile'/usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
>  `load_rakefile'
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
> `standard_exception_handling'
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in 
> `load_rakefile'/usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in
>  `run'
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in 
> `standard_exception_handling'
> /usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in 
> `run'/usr/local/lib64/rubyee/gems/1.8/gems/rake-0.8.7/bin/rake:31/usr/local/bin/rake:23:in
>  `load'
> /usr/local/bin/rake:23
>
>
> What could this mean?
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>



-- 
:wq!

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to