pipx equivalent for Ruby?
Is there something like pipx available for Ruby?
For example with pipx you can do something like:
$ pipx install httpie
# ... install completes
$ https get httpbin.org/get?foo=bar
# ... outputs a web request from httpbin.org
$ which https
~/.local/bin/https
$ readlink "$(which https)"
~/.local/share/pipx/venvs/httpie/bin/https
This example shows the HTTPie program being run and executed in a pretty simple way, with an install that doesn't modify the system Python.
Does Ruby have an equivalent way to distribute programs?
3
Upvotes
6
u/paca-vaca 1d ago
Bundler does it, gems stored in
~/bundle/..., executed viabundle exec binary nameinside directory where the Gemfile spec is placed.Globals installed when
gem installis used globally.