描述
It is incredibly awesome and cool that we have both rv tool install and rv tool run working.
Their respective final forms have a few extra features that make them less basically-the-same:
-
rvxis a valid way to invoke thervbinary, and when it is invoked via a symlink namedrvx, it instead executesrv tool run -
the install script and homebrew formula should create an
rvxsymlink pointing to the mainrvbinary to enable this -
rv tool runwill install a tool into a completely ephemeralGEM_HOME, and not leave an installed tool directory behind after it exits. This is really only feasible after we have some other features around caching and installing finished to make this fast enough. -
rv tool installwill not just install the tool itself, it will also create a binstub in~/.local/bin/NAMEthat contains a script to run the tool with the right ruby version and only the specific tool gems available. -
rv tool installwill check to see if~/.local/binis included in $PATH, and will print a warning if it is not. The warning should include instructions to the user about how to add it to their PATH. I thinkuvhas an entire utility command just for this,uv install-pathor something like that.