I have installed bcrypt using the command
gem install bcrypt
I can confirm that it is installed in my gem folder both local and @global and it is the correct version '3.1.7'. And... I have added the following line to my project:
gem 'bcrypt', '~> 3.1.7'
When I run bundle install I get this...
Your bundle is complete!
However when I issue this command:
rails generate devise:install
I get the following...
Could not find bcrypt-3.1.7 in any of the sources
Run `bundle install` to install missing gems.
user-pc:blog user$
I have even run:
bundle list
And I get a list of installed bundles and bcrypt 3.1.7 shows up!!
I had this same problem, it seems all I had to do was delete the Gemfile.lock
file, and then re-run bundle
!
You may also need to run bundle exec rails generate devise:install
but it worked fine for me without the bundle exec
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments