Hello all, After enabling s3 for photos, I'm getting an "undefined local variable or method `s3_config' " error. For example:
ActionView::TemplateError (undefined local variable or method `s3_config' for Technoweenie::AttachmentFu::Backends::S3Backend:Module) on line #13 of vendor/plugins/community_engine/app/views/users/welcome_about.html.haml: 10: %br 11: = link_to "» " + :go_to_your_profile.l, user_path(@user) 12: 13: - if @user.avatar_photo_url 14: .box.alt 15: %h3=:your_profile_photo.l 16: .centered The s3 file upload works, I can see it in the appropriate bucket. My steps to activate s3 were: 1. create config/amazon_s3.yml 2. copy the photo block out of vendor/plugin/community_engine/config/application.yml into config/application.yml, and set storage: 's3' The aws-s3 gem is in place: muld...@fedora$ gem list *** LOCAL GEMS *** actionmailer (2.3.2, 2.2.2, 2.1.0) actionpack (2.3.2, 2.2.2, 2.1.0) activerecord (2.3.2, 2.2.2, 2.1.0) activeresource (2.3.2, 2.2.2, 2.1.0) activesupport (2.3.2, 2.2.2, 2.1.0) aws-s3 (0.6.2) <snip> Any suggestions? Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
