Closed mzanini closed 3 years ago
Hey @mzanini, the gem doesn't currently ship with a shared library for ARM on Linux. I was able to cross-compile one on GitHub Actions (code), but could use some help testing it. Can you download the build artifact and in an intializer, set:
Argon2::KDF.ffi_lib = "path/to/downloaded/libargon2.so"
If that works, can add it to the gem.
Thank you @ankane, it seems to work! Do you want me to keep an eye out for something?
Great, thanks @mzanini! If you're not seeing errors, it should be good. Just pushed a new release that includes it.
I am using
blind_index
gem to enforce uniqueness of the email field on theusers
table but it seems likeblind_index
cannot find the shared object file even if the file is there, any idea on how to fix this?Here is the error:
But the file is there:
Also, I have access to it (also tried to
touch
it and it works):I am developing in Docker, my container is the standard
ruby:2.7.1
. Some more details:Thank you for all the help and your wonderful gems @ankane!
EDIT: This could be because I am on a Mac M1?