problem of authenticating users with devise?

0

I'm starting with ruby on rails I'm using the gem devise when I want to enter an email with a password I get this error

What is the reason?

    
asked by 14.08.2017 в 04:07
source

1 answer

1

Uninstall bcrypt

gem uninstall bcrypt-ruby
gem uninstall bcrypt
gem install bcrypt --platform=ruby

Then add in your Gemfile :

gem 'bcrypt', '~> 3.1.11'

And, finally, execute the following command:

bundle install
    
answered by 14.08.2017 / 04:35
source