Skip to content

Instantly share code, notes, and snippets.

@jimneath
Forked from chrisfonseca/gist:6269260
Last active December 21, 2015 07:09
Show Gist options
  • Save jimneath/6269273 to your computer and use it in GitHub Desktop.
Save jimneath/6269273 to your computer and use it in GitHub Desktop.
if node[:ruby_version][/ruby 1\.9/i]
enable_package "media-gfx/imagemagick" do
version "6.7.8.8-r1"
end
package "media-gfx/imagemagick" do
version "6.7.8.8-r1"
action :install
end
else
package "media-gfx/imagemagick" do
version "6.4.8.3"
action :install
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment