ports/net-im/mastodon/files/patch-config_environments_production.rb
Joseph Mingrone f30f4838fd net-im/mastodon: Fix plist and patch issues; bump PORTREVISION
- Remove another incorrectly generated %%RUBY_SUFFIX%% from pkg-plist [1]
- Fix a patch that was no longer applying properly after an upstream change

PR:		220625 [1]
Submitted by:	pkubaj@anongoth.pl [1]
2017-07-12 01:10:49 +00:00

12 lines
400 B
Ruby

--- config/environments/production.rb.orig 2017-07-07 14:09:38 UTC
+++ config/environments/production.rb
@@ -98,4 +98,9 @@ Rails.application.configure do
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block',
}
+
+ # Paperclip config:
+ Paperclip.options[:image_magick_path] = "%%PREFIX%%/bin"
+ Paperclip.options[:command_path] = "%%PREFIX%%/bin"
+
end