lib/locomotive/wagon/misc/dragonfly.rb in locomotivecms_wagon-1.0.2 vs lib/locomotive/wagon/misc/dragonfly.rb in locomotivecms_wagon-1.1.0
- old
+ new
@@ -52,10 +52,10 @@
## initialize Dragonfly ##
app = ::Dragonfly[:images].configure_with(:imagemagick)
## configure it ##
::Dragonfly[:images].configure do |c|
- convert = `which convert`.strip.presence || '/usr/local/bin/convert'
+ convert = `which convert`.strip.presence || '/usr/bin/env convert'
c.convert_command = convert
c.identify_command = convert
c.allow_fetch_url = true
c.allow_fetch_file = true
\ No newline at end of file