Guest User

Untitled

a guest
May 21st, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. dependencies 'merb-assets', 'merb-mailer', 'merb_helpers', 'uuid', 'to_simple_xml', 'rog', 'amazon_sdb', 'simple_db', 'retryable', 'activesupport',
  2. 'rvideo', 'panda', 'gd_resize', 'map_to_hash', 'spec_eql_hash', 'error_sender'
  3.  
  4.  
  5. # Not sure why dependencies won't load AWS::S3
  6. require 'aws/s3'
  7. require 'inline'
  8.  
  9. Merb::BootLoader.after_app_loads do
  10. # Panda specific
  11.  
  12. unless Merb.environment == "test"
  13. require "config" / "aws"
  14. require "config" / "mailer" # If you want notification and encoding errors to be sent to you as well as logged
  15. end
  16.  
  17. end
  18.  
  19. Merb::Plugins.config[:helpers][:default_builder] = Merb::Helpers::Form::Builder::ResourcefulForm
Add Comment
Please, Sign In to add comment