LoadError in Devise::SessionsController#create -- cannot load such file -- bcrypt_ext
I solve the above issue by typing following commands:
gem uninstall bcrypt-ruby
after that we need to reinstall
gem install bcrypt --platform=ruby
now we need to add below code in the gem file
gem 'bcrypt', platforms: :ruby
by performing above steps bcrypt issue is resolved.
Rails 4 Devise error?
I just had this problem in a brand new Rails 4 app and it was because I forgot to run
rails g devise:install
as indicated in the Getting Started section in the readme in the Devise project.
getting error for Could not find bcrypt-3.1.11
Uncomment this line of your Gemfile
:
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
and run bundle install
again.
Related Topics
Rails Email Error - 530-5.5.1 Authentication Required
How to Run Ruby on Rails with Ruby 1.9X
How to Reference a File from Inside of a Gem
How to Debug Http of Ruby Google-Api-Client
How to List All Versions of a Gem Available at a Remote Site
How to Set Up a Sinatra App Under Apache with Passenger
Manually Retry Job in Delayed_Job
Export Content of a SQLite3 Table in CSV
How to Submit Polymorphic Comments on Feed? [Error]
Convert String to Symbol-Able in Ruby
Advantage of Tap Method in Ruby
Actioncontroller::Routingerror (No Route Matches [Put] ) for Ajax Call
Optimization for Finding Perfect-Square Algorithm
How to Install Ruby on Rails in Windows