BSD Ports

devel/ruby-zeitwerk 2.8.3 NetBSD

Efficient and thread-safe constant autoloader

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
646a90b63d
License
mit
Categories
devel, ruby
Package size
93.2 KiB, 262.6 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.

In the other systems

SystemPortVersion
NetBSDdevel/ruby-zeitwerk2.8.3
OpenBSDdevel/ruby-zeitwerk2.8.3

Install

Binary package:

pkgin install ruby33-zeitwerk

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-zeitwerk && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.8.3
NetBSD 10.1 aarch642.8.2
SmartOS / illumos x86_642.8.3
macOS 15 arm642.8.3

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-zeitwerk-2.8.3, ruby40-zeitwerk-2.8.3

Commit history 1

DateCommitCreditsLog message
646a90b63d taca devel/ruby-zeitwerk: update to 2.8.3
2.8.3 (2026-08-01) * 2.8.0 introduced a regression: Collapsed directories that were also configured as eager load exclusions were eager loaded. The exclusion was not honored. This has been fixed.