You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!!
The text was updated successfully, but these errors were encountered:
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!!
The text was updated successfully, but these errors were encountered: