Started getting this error three days ago in our rails app during the rake db:create db:structure:load step
LoadError: cannot load such file -- bcrypt_ext
This was fixed by running
bundle update bcrypt-ruby
However, local and server environments (heroku) did not need this.