BSD Ports

devel/rubygem-zeitwerk-gitlab 2.6.18 DragonFly

Efficient and thread-safe code loader

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, rubygems
Package size
34.0 KiB, 127.5 KiB installed

Description

Zeitwerk is an efficient and thread-safe code loader for Ruby.

Given a conventional file structure, Zeitwerk is able to load your project's classes and modules on demand (autoloading), or upfront (eager loading). You don't need to write require calls for your own files, rather, you can streamline your programming knowing that your classes and modules are available everywhere. This feature is efficient, thread-safe, and matches Ruby's semantics for constants.

Zeitwerk is also able to reload code, which may be handy while developing web applications. Coordination is needed to reload in a thread-safe manner. The documentation below explains how to do this.

The gem is designed so that any project, gem dependency, application, etc. can have their own independent loader, coexisting in the same process, managing their own project trees, and independent of each other. Each loader has its own configuration, inflector, and optional logger.

Internally, Zeitwerk issues require calls exclusively using absolute file names, so there are no costly file system lookups in $LOAD_PATH. Technically, the directories managed by Zeitwerk do not even need to be in $LOAD_PATH. Furthermore, Zeitwerk does only one single scan of the project tree, and it descends into subdirectories lazily, only if their namespaces are used.

In the other systems

The newest version among them is 2.6.18, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/rubygem-zeitwerk-gitlab2.6.18 newestnone known-[email protected]-
FreeBSDdevel/rubygem-zeitwerk-gitlab2.6.18 newestnone known-[email protected]2026-09-30
HardenedBSDdevel/rubygem-zeitwerk-gitlab2.6.18 newestno data-[email protected]-
GhostBSDdevel/rubygem-zeitwerk-gitlab2.6.18 newestno data-[email protected]-

Version history 1

  1. 2.6.18

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install rubygem-zeitwerk-gitlab

From DPorts:

cd /usr/dports/devel/rubygem-zeitwerk-gitlab && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2