Hi Berry,

I had the same issue on a debian gitorious installation. To fix that you 
will have to edit the file "boot.rb", on a default installation of 
gitorious this file is found in /var/www/gitorious/config/boot.rb. Edit the 
file by adding the line "require 'thread'". After the change, the file 
should look like the following:

# Don't change this file!
# Configure your app in config/environment.rb and config/environments/*.rb

RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
require 'thread' # you need to add this line here

module Rails


Regards
Dominick


On Friday, June 1, 2012 3:06:45 PM UTC-4, Berry Sizemore wrote:
>
> Hello,
>
> The create database step is failing on the latest version of 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
>
>

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

Reply via email to