R
Railway15mo ago
jos o

Getting LoadError for vips.so.42 in Rails app using ActiveStorage connected to S3

I'm getting the following error I my research says it's because vips isn't installed. I know this means I would need to add it presumably by creating a nixpacks.toml file but I'm not immediately clear on what all would need to be added to do that looking at the documentation. if anyone has some guidance it would be appreciated
LoadError (Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory.
Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory):
LoadError (Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory.
Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory):
4 Replies
Percy
Percy15mo ago
Project ID: 4dcb4d12-870b-4c76-a86d-5d0baf2e0192
jos o
jos o15mo ago
That solved it Thanks Brody, I was initially worried I was going to have to rebuild the pack from scratch with the additional dependency added but it was way simplet than that
Brody
Brody15mo ago
awesome, glad that link helped!