You appear to be running gem version 0.16.3
of clearance, which doesn't support the Clearance::PasswordStrategies::BCrypt
password strategy. If you upgrade to v1.0.0.rc1
or higher than that should work.
The only supported password strategies in 0.16.3
are Clearance::PasswordStrategies::Blowfish
and Clearance::PasswordStrategies::SHA1
.
If you want to try a version that supports BCrypt
, you can update your Gemfile
to say:
gem 'clearance', :git => "git://github.com/thoughtbot/clearance.git", :tag => "v1.0.0.rc4"
That will pull a specific tag of that repository. You can leave off the :tag
to grab the latest version from GitHub. Keep in mind, that it may not be as stable as 0.16.3
.