נכשל בבניית דיסקרוס מחדש -- OpenURI::HTTPError: שגיאת 401: מפתח רישיון לא תקין

This means your MaxMind license key is invalid.

Try adding a # before on the line that contains that and rebuilding.