When I add has_secure_password to the model (inherited from ActiveRecord::Base), error stating that \"bcrypt-ruby is not part of the bundle\" occurs.
Here the log is
In your Gemfile add a line
gem 'bcrypt-ruby'
and then from the command line
bundle install