From 76e315cd39f505a470048e78414696497c516b62 Mon Sep 17 00:00:00 2001 From: moritz-makandra <74647721+moritz-makandra@users.noreply.github.com> Date: Tue, 17 Dec 2024 21:14:46 +0100 Subject: [PATCH] add list-bin-paths command (#378) There can be the situation where the binary files of an Gem aren't installed into the common `bin` directory. This happens when the Gem Specification is lacking the `bindir` setting. --- bin/list-bin-paths | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/list-bin-paths diff --git a/bin/list-bin-paths b/bin/list-bin-paths new file mode 100755 index 0000000..e24bb72 --- /dev/null +++ b/bin/list-bin-paths @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +gem_version="${ASDF_INSTALL_VERSION%.*}.0" +echo "bin lib/ruby/gems/$gem_version/bin"