OSDN Git Service

test
[pettanr/pettanr.git] / config / environments / development.rb
1 require 'DMagick'
2
3 Pettanr::Application.configure do
4   # Settings specified here will take precedence over those in config/application.rb
5
6   # In the development environment your application's code is reloaded on
7   # every request.  This slows down response time but is perfect for development
8   # since you don't have to restart the web server when you make code changes.
9   config.cache_classes = false
10
11   # Log error messages when you accidentally call methods on nil.
12   config.whiny_nils = true
13
14   # Show full error reports and disable caching
15   config.consider_all_requests_local       = true
16   config.action_controller.perform_caching = false
17
18   # Don't care if the mailer can't send
19   config.action_mailer.raise_delivery_errors = false
20
21   # Print deprecation notices to the Rails logger
22   config.active_support.deprecation = :log
23
24   # Only use best-standards-support built into browsers
25   config.action_dispatch.best_standards_support = :builtin
26
27   # Do not compress assets
28   config.assets.compress = false
29
30   # Expands the lines which load the assets
31   config.assets.debug = true
32 end
33 y = YAML.load(open(Rails.root + 'config/aws.yaml').read)
34
35 require 'local_picture'
36 PictureIO.setup do |config|
37   config.original_picture_io = PictureIO::LocalPicture.new '/sites/original/pettanr/'
38   config.resource_picture_io = PictureIO::LocalPicture.new  '/sites/resource/pettanr/'
39   config.system_picture_io = PictureIO::LocalPicture.new  '/sites/system/pettanr/'
40 end