Skip to content

Commit

Permalink
add list-bin-paths command (#378)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
moritz-makandra authored Dec 17, 2024
1 parent e0af1e8 commit 76e315c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/list-bin-paths
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

gem_version="${ASDF_INSTALL_VERSION%.*}.0"
echo "bin lib/ruby/gems/$gem_version/bin"

0 comments on commit 76e315c

Please sign in to comment.