On Mar 3, 12:01 am, Kevin Owocki <ksowo...@gmail.com> wrote:
> Hi all,
>
> I'm new to the world of ruby, and am trying to get my first rake set up.
>  But my rake is failing with the following error message: "uninitialized
> constant ActiveSupport::Dependencies::Mutex"
>

Does sticking

require 'thread'

somewhere like right at the top of environment.rb help at all?

Fred
> *# rake db::setup --trace*
> (in /var/www/bi)
> rake aborted!
> uninitialized constant ActiveSupport::Dependencies::Mutex
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in
> `const_missing'
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/de 
> pendencies.rb:55
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support.rb 
> :56
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/misc.rake:18
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:4:in `load'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:4
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:4:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/tasks/rails.rb:4
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
> `gem_original_require'
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
> /var/www/bi/Rakefile:10
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
> `raw_load_rakefile'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
> `load_rakefile'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
> `load_rakefile'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
> /usr/local/bin/rake:19:in `load'
> /usr/local/bin/rake:19
>
> I've tried googling around, but so far, no luck figuring out what's up.  Am
> I missing a dependency of some sort that I am unaware of?
>
> Here is my diagnostic info:
>
> CentOS release 5.5 (Final)
> []# ruby -v
> ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
> []# rails -v
> Rails 3.0.5
> []# passenger -v
> Phusion Passenger version 3.0.4
> []# gem -v
> 1.6.0
>
>  Kevin Owocki <http://www.owocki.com>
>
> co-founder & lead developer at ignighter <http://www.ignighter.com/>
>
> _________________________________________
>
> find me on twitter <http://www.twitter.com/owocki>,
> facebook<http://www.facebook.com/kevinowocki>,
> linkedin <http://www.linkedin.com/in/kevinowocki>, and
> owocki.com<http://www.owocki.com/>.
>
> see you around teh internets!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to