From 87d37c1792106f41d620eecb8ba6fd7a450ebc13 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 24 Jun 2020 21:27:50 +0200 Subject: [PATCH] Added missing config after Rails update --- config/environments/development.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 66df51f..f626b82 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -59,4 +59,22 @@ Rails.application.configure do # Use an evented file watcher to asynchronously detect changes in source code, # routes, locales, etc. This feature depends on the listen gem. config.file_watcher = ActiveSupport::EventedFileUpdateChecker + + config.package_sources = [ + { + description: 'Debian Unstable (Sid)', type: 'apt', url: 'http://ftp.de.debian.org/debian/dists/sid', + architectures: ['i386' ,'amd64'] + #components: ['main','restricted','universe','multiverse'] + } + ] + + # URL to fetch reviews from the Ubuntu JSON API + # config.ubuntu_reviews_api_url = 'https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/en/any/any/any/%s' + + config.images_path = Rails.root.join('public', 'screenshots') + + config.image_sizes = { + large: '800x600', + small: '160x120', + } end