But when I try to use Rails ActiveStorage with heic files I get an error like "VipsForeignLoad heic is not a known file format".
Just googling for that I found this: https://github.com/libvips/php-vips/issues/111, which makes it sound like an updated (or extended?) version of libvips is needed.