Skip to content

Instantly share code, notes, and snippets.

@chrisfonseca
Created August 19, 2013 13:42
Show Gist options
  • Save chrisfonseca/6269260 to your computer and use it in GitHub Desktop.
Save chrisfonseca/6269260 to your computer and use it in GitHub Desktop.
if RUBY_VERSION =~ /1\.9\.(\d+)/
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