0
In a new project, after installing the Gemfile gems, when I try to start the server with rails s
the following error is displayed in the console :
LoadError: cannot load such file -- 2.3/bcrypt_ext
0
In a new project, after installing the Gemfile gems, when I try to start the server with rails s
the following error is displayed in the console :
LoadError: cannot load such file -- 2.3/bcrypt_ext
0
Uninstall the Gems relating to bcrypt
and reinstall as in the last line below:
gem uninstall bcrypt-ruby
gem uninstall bcrypt
gem install bcrypt --platform=ruby
Then, in your Gemfile, replace the bcrypt
for
gem 'bcrypt', '~> 3.1.11'
Stop the Rails server and run bundle install
and then you can start the server again.
Some possible solutions can also be seen here.
Browser other questions tagged ruby-on-rails ruby gem bcrypt
You are not signed in. Login or sign up in order to post.
This error happens when? in what situation? could describe a little more?
– rray
happens when I start the server with Rails, right after installing gemfile gems
– Vitor Souza
Are you using windows? Some people reported this error on the windows platform. https://github.com/codahale/bcrypt-ruby/issues/142 .
– Danilo Cândido
yes I’m using windows 10.
– Vitor Souza