Richard Schneeman
2008-Nov-21 03:12 UTC
uninitialized constant ActionController::Caching::Fragments
Hey, i''m trying to use "s3cache" plugin with my app, but after adding it to my vendor/plugins directory and following the install steps i''m getting this error after running script/server: /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:275:in `load_missing_constant'': uninitialized constant ActionController::Caching::Fragments::UnthreadedFileStore (NameError) from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:467:in `const_missing'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/plugins/s3cache/lib/s3_cache.rb:3 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:354:in `new_constants_in'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/plugins/s3cache/init.rb:1:in `evaluate_init_rb'' ... 37 levels... from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/activesupport/lib/active_support/dependencies.rb:509:in `require'' from /Users/richardschneeman/Documents/AptanaStudio/slangasaurus/vendor/rails/railties/lib/commands/server.rb:39 from script/server:3:in `require'' from script/server:3 I''ve extensively googled this error but haven''t been able to come up with any good answers for what is causing it. Rails 2.1.0, Ruby 1.8.6: this is the first two lines in s3_cache.rb: require ''s3'' class S3Cache < ActionController::Caching::Fragments::UnthreadedFileStore Any clues or suggestions?? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Nov-21 11:01 UTC
Re: uninitialized constant ActionController::Caching::Fragments
On 21 Nov 2008, at 03:12, Richard Schneeman wrote:> > > I''ve extensively googled this error but haven''t been able to come up > with any good answers for what is causing it. Rails 2.1.0, Ruby 1.8.6: > this is the first two lines in s3_cache.rb: > > require ''s3'' > class S3Cache < > ActionController::Caching::Fragments::UnthreadedFileStore >Your plugin was written against 2.0.2. That class doesn''t exist in rails 2.1 FGred> Any clues or suggestions?? > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- "uninitialized constant" Error for CalendarHelpper
- Stub ActionController::Base#params
- Where is ActionController::InPlaceEditing?
- Using config.action_controller.asset_host with ActionController::AbstractRequest.relative_url_root
- ActionController parameters and conditional select