PG::UndefinedTable: שגיאה: היחס "pg_range" אינו קיים

That’s very old.

You should be running 13.x nowadays.