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
Restart the server and reinstall bundle in correct order, that is:
bundle install, bundle update, bundle install
and then server restart.