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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/ruby-zeitwerk | 2.8.3 |
| OpenBSD | devel/ruby-zeitwerk | 2.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.8.3 |
| NetBSD 10.1 aarch64 | 2.8.2 |
| SmartOS / illumos x86_64 | 2.8.3 |
| macOS 15 arm64 | 2.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