LoadError: cannot load such file — bcrypt_ext

I got a bcrypt error when using Devise on Windows 10 and Ruby 2.2.2p95 and rails 4.2.5

You should have DevKit installed and configured correctly to recompile the gem.

Firt stop your server and remove every bcrypt gem or bcrypt-ruby gem.

Don’t forget to include bcrypt in your Gemfile

make a bundle update and recompile the gem like this

Restart your server.

It should do the trick !

3 Thoughts on “LoadError: cannot load such file — bcrypt_ext

  1. Alfonso on November 9, 2016 at 15:09 said:

    Awesome, at least a solution that actually worked out.

    Thank’s a lot for this!!

  2. Emeka on January 16, 2017 at 02:25 said:

    i cant do make for some reason im in the right the path but the make command doesnt work
    it says it has no target

  3. jyothsna on February 11, 2017 at 13:49 said:

    thanks.it worked.

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation