kn fc3cb971d6 Provide version example, move shim script out of PATH
Without documentation and/or prior Ruby experience, it is not obvious
what /etc/ruby-version should contain.

The shim script itself should not be called directly, move it to
libexec/rubyshim to make this clearer.
2020-04-23 19:00:17 +00:00

11 lines
316 B
Plaintext

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]