Closed SantiLl closed 4 years ago
Hey @SantiLl, thanks for reporting! It looks like the precompiled library isn't compatible with 10.13. Will see if I can fix that, but in the meantime, you should be able to do:
brew install argon2
And create an initializer with:
Argon2::KDF.ffi_lib = "/usr/local/lib/libargon2.dylib" if Rails.env.development?
Just released 0.1.3 which should fix it (usually takes 10-15 min to become available on Rubygems).
Andrew, thanks for the blazing fast answer. Already installed the gem to homebrew but don't have any clue where the init file is, searched through /usr/local/Cellar/argon2
but didn't find any .rb file.
Homebrew doesn't install the gem, just the dylib
. Anyways, you can disregard the instructions above and simply update the gem.
Having this issue with macOS High Sierra version 10.13.4 (17E199).
Installed
blind_index
gem (version 2.0.1) which has a dependency with this gem. The following error message is given while trying to runrails db:seed
: