doom spork
2011-Apr-17 19:35 UTC
ERROR NameError: uninitialized constant ActiveSupport::Dependencies
Hello all, I keep getting the following error after visiting 127.0.0.1:3000 on a fresh rails 3.0.6 install with ruby 1.9.2. I have tried googling solutions but most results are addressing the issue in rails 2 and suggest adding ''require "threads"'' to the boot.rb; this did not resolve my issues. Any suggestions on how to resolve this or where to start? [2011-04-17 15:17:18] ERROR NameError: uninitialized constant ActiveSupport::Dependencies /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:9:in `initialize'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:67:in `new'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:67:in `use'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:190:in `block in default_middleware_stack'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:189:in `tap'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:189:in `default_middleware_stack'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:161:in `app'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:168:in `call'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/application.rb:77:in `method_missing'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in `call'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/rack-1.2.2/lib/rack/content_length.rb:13:in `call'' /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3/gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in `service'' /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'' /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'' /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'' -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Apr-18 12:37 UTC
Re: ERROR NameError: uninitialized constant ActiveSupport::Dependencies
On Sun, Apr 17, 2011 at 2:35 PM, doom spork <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello all, > > I keep getting the following error after visiting 127.0.0.1:3000 on a > fresh rails 3.0.6 install with ruby 1.9.2. I have tried googling > solutions but most results are addressing the issue in rails 2 and > suggest adding ''require "threads"'' to the boot.rb; this did not resolve > my issues. > > Any suggestions on how to resolve this or where to start? > > [2011-04-17 15:17:18] ERROR NameError: uninitialized constant > ActiveSupport::Dependencies > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:9:in > `initialize'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:67:in > `new'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/actionpack-3.0.3/lib/action_dispatch/middleware/stack.rb:67:in > `use'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:190:in > `block in default_middleware_stack'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:189:in > `tap'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:189:in > `default_middleware_stack'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:161:in > `app'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:168:in > `call'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/application.rb:77:in > `method_missing'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in > `call'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/rack-1.2.2/lib/rack/content_length.rb:13:in > `call'' > /Users/doom/.rvm/gems/ruby-1.9.2-p180@rails3 > /gems/rack-1.2.2/lib/rack/handler/webrick.rb:52:in > `service'' > > /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in > `service'' > > /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in > `run'' > > /Users/doom/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in > `block in start_thread'' > >Can you post a gem list for the RVM environment you are trying to run this in? B. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.