0

I have successfully installed bcrypt - 3.1.7, and bundle installed after that.

However, the bcrypt gem doesnt show up in the list, when I try to bundle show bcrypt, it says:

Could not find gem 'bcrypt'. 

Also, when I do:

gem 'bcrypt', '~> 3.1.7'

it says:

ERROR: While executing gem.. (Gem::CommandLineError) Unknown command bcrypt

What should I do?

Eduardo Briguenti Vieira
  • 4,351
  • 3
  • 37
  • 49
Sara
  • 3
  • 1

2 Answers2

0

instead of:

gem 'bcrypt', '~> 3.1.7'

try:

gem install bcrypt -v 3.1.7 
Igor Guzak
  • 2,155
  • 1
  • 13
  • 20
0

Try:

gem 'bcrypt-ruby', '~> 3.0.0'
Brando
  • 23
  • 2
  • 6