Restored database and gem settings