In a new project, after installing Gemfile gems, how much do I try to start the server with rails s
the following error and displayed in the console:
LoadError: cannot load such file -- 2.3/bcrypt_ext
In a new project, after installing Gemfile gems, how much do I try to start the server with rails s
the following error and displayed in the console:
LoadError: cannot load such file -- 2.3/bcrypt_ext
Uninstall gems for 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 line with bcrypt
with
gem 'bcrypt', '~> 3.1.11'
Stop the Rails server and run bundle install
and then start the server again.
Some possible solutions can also be seen here .