Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

gem 'devise' error

1
Rails

Hi All

When try to run "bundle install" after add
gem 'devise', '~> 4.8', '>= 4.8.1' in Gemfile will shown below error

"An error occurred while installing bcrypt (3.1.18), and Bundler cannot continue."

Rails 7.0.4
ruby 3.1.2

Please how can solve it?
Thank you

When you see an error like this, you need to try installing the gem that won't install and check its specific error message for the next step. Try this, then troubleshoot that error:

gem install bcrypt -v 3.1.18

Your problem might already have a discovered solution. Always check the gem's Issues page in it's GitHub repo:

https://github.com/bcrypt-ruby/bcrypt-ruby/issues

Join the discussion
Create an account Log in