This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Description
By running the homepage example in a containerized environment I'm getting the following error:
Unhandled exception: File not open for writing (IO::Error)
from usr/share/crystal/src/crystal/system/unix/file_descriptor.cr:23:11 in 'unbuffered_write'
from usr/share/crystal/src/io/buffered.cr:205:5 in 'flush'
from usr/share/crystal/src/logger.cr:175:7 in 'write'
from usr/share/crystal/src/logger.cr:155:5 in 'log'
from src/lib/mongo/src/mongo.cr:35:18 in 'log'
from src/lib/mongo/src/mongo.cr:39:5 in '->'
from mongoc_log
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from mongoc_cursor_next
from src/lib/mongo/src/mongo/cursor.cr:47:8 in 'next'
The containerized environment that I'm using is ubuntu:18.04 image with the following packages installed: libmongoc-dev, libbson-dev.
Is there some kind of setup that I'm missing?