[openstreetmap/openstreetmap-website] Require open3 before using it (3abeeb7)

Andy Allan notifications at github.com
Mon Jun 29 08:30:03 UTC 2020

> It broke when I merged one of the gem updates - my assumption was that the gem in question had previously been requiring open3 and no longer was.

Ah, fair enough. I didn't figure that out from the commit message, but that context explains everything.

> In any case as a general rule I believe anything in stdlib (as against core) need a require before using it?

Yeah, stdlib seems to be an edge-case here, where core doesn't need requiring, and gems don't either. I think my curiosity was mainly because I've removed unnecessary require statements from the codebase previously, so I'm interested to learn why they are sometimes necessary.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200629/3693b202/attachment.htm>

More information about the rails-dev mailing list