Skip to content

Under Windows: Libvips is not installed. Imagemagick is not installed #303

@hjuefricke

Description

@hjuefricke

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions