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

前端 未结 9 1419
醉酒成梦
醉酒成梦 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:08

    Here is the solution worked for me:

        C:\> gem uninstall brcypt
        C:\> gem install --no-ri --no-rdoc bcrypt
        C:\> cd (path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri
        C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> ruby extconf.rb
        C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> make
        C:\(path to gems root)\bcrypt-3.1.7-x86-mingw32\ext\mri> make install
    

提交回复
热议问题