Registry / cli / which-works

which-works

JSON →
library1.0.2rbrubygemsunverified

Locates a program file in the user's path, similar to the Unix 'which' command.

gem install which_works
INSTALL
IMPORT
SIG · WHICH-WORKS
W
which-works
clirubyv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WhichWorks
require 'which_works'

Find the full path to the 'ruby' executable.

require 'which_works' path = WhichWorks.which('ruby') puts path
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
35
OpenAI (training)
1
Resources
which-works — gem install which-works · libregistry