LoadError: cannot load such file — bcrypt_ext on Windows 2008 x64 server

前端 未结 9 1513
醉酒成梦
醉酒成梦 2020-12-30 04:32

I upgraded my environment from Ruby 2.0.0 to 2.2.3.

I also upgraded (overwrite) DevKit, and re-run ruby dk.rb install.

I removed Gemfile.lock and ran bundle

9条回答
  •  情书的邮戳
    2020-12-30 05:15

    Solution was here: bcrypt-ruby@github:

    Rebuild locally the bcrypt gem:

    1. Change to the gem directory \Ruby22-x64\lib\ruby\gems\2.2.0\gems\bcrypt-3.1.10-x64-mingw32\ext\mri>
    2. Run ruby extconf.rb
    3. Run make
    4. Run make install

    Note that this works only if your DevKit environment is correctly setup (run devkitvars.bat).

提交回复
热议问题