On windows the routine to check Vips does not work. The system command "which" does not exist on win-os
Changing the routine in image_backen.rb made it work for me:
def command?(command)
host_os = RbConfig::CONFIG['host_os']
if host_os =~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/
system("where #{command} > NUL 2>&1")
else
system("which #{command} > /dev/null 2>&1")
end
end
Thanks for your great work!!
On windows the routine to check Vips does not work. The system command "which" does not exist on win-os
Changing the routine in image_backen.rb made it work for me:
def command?(command)
host_os = RbConfig::CONFIG['host_os']
if host_os =~ /mswin|msys|mingw|cygwin|bccwin|wince|emc/
system("where #{command} > NUL 2>&1")
else
system("which #{command} > /dev/null 2>&1")
end
end
Thanks for your great work!!