79240601

Date: 2024-11-30 22:30:27
Score: 1.5
Natty:
Report link

Turns out Rails 8 requires both libvips AND Imagemagick.

Re-did this tutorial from RoR site exactly as he does it. This time I got this message from console when trying to create a post with an image:

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.

RoR's Active Storage Overview says we require to install libvips v8.6+ or ImageMagick but actually we need BOTH.

Here's the article where I found out

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ramona