BSD Ports

devel/ruby-shims 3p0 OpenBSD

Ruby version redirection shim

System
OpenBSD
Repository
OpenBSD ports
Maintainer
joshua stein <[email protected]>
Categories
devel

Description

ruby-shims is a set of symlinks to a script that executes Ruby binaries based on a per-directory .ruby-version or system-wide /etc/ruby-version file.

The file must only contain the exact version string, e.g.

$ cat .ruby-version
2.6
$ ruby --version
ruby 2.6.5p114 (2019-10-01 revision 67812) \[sparc64-openbsd\]

Install

Binary package:

pkg_add ruby-shims

From the ports tree:

cd /usr/ports/devel/ruby-shims && make install

Dependencies

No port depends on this one.