Sha256: 9b67ed27d91b9fff229ffa2f20dee591ebebb21096aee805970a86fc73084bd8
Contents?: true
Size: 1.02 KB
Versions: 81
Compression:
Stored size: 1.02 KB
Contents
# Copyright 2009-2010 by le1t0@github. All rights reserved. Capistrano::Configuration.instance(:must_exist).load do namespace :deprec do namespace :imagemagick_bin do set :imagemagick_include_rmagick, false desc "Install imagemagick & rmagick" task :install, :roles => :app do # make sure binary package is uninstalled (if there is any), before attempting source uninstall, since source # uninstall would also remove binary package files uninstall # uninstall source (forced, might not be there) so we are sure no old files are left behind top.deprec.imagemagick_src.uninstall apt.install( {:base => %w(imagemagick libmagick9-dev libmagick10)}, :stable ) gem2.install 'rmagick' if imagemagick_include_rmagick end task :uninstall, :roles => :app do gem2.uninstall 'rmagick' if imagemagick_include_rmagick apt.install( {:base => %w(imagemagick- libmagick9-dev- libmagick10-)}, :stable ) end end end end
Version data entries
81 entries across 81 versions & 1 rubygems