views:

21

answers:

1

I'm using database authentication in devise(current gem) on rails 3 and I get the following error when trying to log in with username/password.

no such file to load -- bcrypt_ext 

This error occurred while loading the following files:
   bcrypt
   bcrypt_ext

I have previously "Successfully installed bcrypt-ruby-2.1.2" gem.

Any ideas? I also tried giving bundler the git repo address and fetching the master, but it doesn't solve the issue.

A: 

Do you have these in your Gemfile?

gem "bcrypt-ruby", :require => "bcrypt"

Also -- this issue on devise might apply, check it out

Jesse Wolgamott