Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hjuefricke opened this issue Feb 5, 2024 · 2 comments
Open

Comments

@hjuefricke
Copy link

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

@rbuchberger
Copy link
Owner

Ahh, I'm sorry about that! Didn't occur to me to check. You can roll back to 2.0.4 until I can cut a new release to fix it properly

@hjuefricke
Copy link
Author

Thanks for the quick reply! I fixed it and it works for me until the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants