swap the https://rubygems.org in Gemfile
password ressetting code and log ldap errors