LoadError: cannot load such file -- bcrypt_ext

ruby

#1

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.


#2

Could you please try rebuilding without cache? It is possible that an outdated version of the dependency is stuck in the dependency cache for your project.


#3