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

后端 未结 9 2060
不知归路
不知归路 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:09

    For me it worked by just deleting the dependency for version of bycript in the /active_model/secure_password.rb for development test environment.

    I always made sure to add it in production just to 100% safe

提交回复
热议问题