I have just upgraded from rails 6 to rails 7. Started getting errors on heroku related to vips :
LoadError
Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory
I am actually handling image processing using Cloudinary, so I thought I do not need any image processing gem or library in my app. Thus I just removed the image_processing
gem from my gemfile (the one that is using vips
apparently).
I now get a new error :
LoadError ActiveStorage::Representations::RedirectController#show
New Issue
Generating image variants require the image_processing gem. Please add `gem 'image_processing', '~> 1.2'` to your Gemfile. (LoadError)
I dont really understand why I am getting this error, does ActiveStorage
actually needs image_processing
even though I am using it with cloudinary ?