From d92c492487b0585e6e1bd1fb5212f662a9489bd0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 29 Nov 2017 15:44:47 +0000 Subject: [PATCH] Install image optimisation tools on rails machines --- cookbooks/web/resources/rails_port.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cookbooks/web/resources/rails_port.rb b/cookbooks/web/resources/rails_port.rb index 4d30aa7cc..8e6d929cc 100644 --- a/cookbooks/web/resources/rails_port.rb +++ b/cookbooks/web/resources/rails_port.rb @@ -87,6 +87,17 @@ action :create do libmemcached-dev ] + package %w[ + pngcrush + advancecomp + optipng + pngquant + jhead + jpegoptim + gifsicle + libjpeg-turbo-progs + ] + gem_package "bundler#{new_resource.ruby}" do package_name "bundler" version "1.3.5" -- 2.39.5