can't activate bcrypt-ruby (~> 3.0.0), already activated bcrypt-ruby-3.1.1. Make sure all dependencies are added to Gemfile

后端 未结 9 2074
不知归路
不知归路 2020-12-03 05:13

I have Rails 4.0.0 app. When I run bundle install command there is no problem. This is my GemFile.

source \'https://rubygems.org\'

# Bundle edge Rails inste         


        
9条回答
  •  余生分开走
    2020-12-03 06:08

    Use ActiveModel has_secure_password

    gem 'bcrypt-ruby', '~> 3.0.0'
    

    Had the same issue. Removing the comment # from above line resolved my issue, as jconley mentioned.

提交回复
热议问题