resolved ssl error and updated gems