any-gem
Summary
Section titled “Summary”A parametric package that installs any Ruby Gem and exposes its binaries as sbin shims, without requiring a system-wide Ruby or gem install.
Syntax / Usage
Section titled “Syntax / Usage”zi pack param'GEM -> <gemname>' for any-gemMultiple gems can be passed via GEM2, GEM3, … GEM7, and OTHER for extra gems without a shim.
Details
Section titled “Details”- Provides:
sbinshims for all executables under the gem’sbin/directory, viag:bin/*glob. - Profile ices:
git,as"null",nocompile,lucid,id-as"${${:-%IDAS%}:-%GEM%}",gem"%GEM%;%GEM2%;...;%OTHER%",sbin"g:bin/*",atpull"%atclone". - The
gemice (from thebin-gem-nodeannex) installs gems into an isolated directory under zinit’s data dir; no system gem directory is touched. - Default
param-defaultisGEM -> lolcat, so without aparamicelolcatis installed. - Requires the
bin-gem-nodeannex and a workinggembinary in PATH.
Examples
Section titled “Examples”# Install colorlszi pack param'GEM -> colorls' for any-gem
# Install asciidoctor and rouge togetherzi pack param'GEM -> asciidoctor GEM2 -> rouge' for any-gemCaveats / Common Mistakes
Section titled “Caveats / Common Mistakes”- Requires the
bin-gem-nodeannex andgem(Ruby) to be available. - The
id-asice defaults to the gem name; if you install two different gems, useIDAS -> <custom-id>to avoid ID collisions.
See Also
Section titled “See Also”- pkg-any-node — same pattern for npm packages
- pkg-asciidoctor — dedicated asciidoctor package using the gem ice
- pkg-overview — how
zi packworks