1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 14:53:53 -05:00

Documentation tweaks

This commit is contained in:
Sam Stephenson
2012-12-29 22:05:04 -06:00
parent 19666f2598
commit 37eca782cc
12 changed files with 27 additions and 26 deletions

View File

@@ -1,17 +1,17 @@
#!/usr/bin/env bash
#
# Summary: Run an executable with the right Ruby version
# Summary: Run an executable with the selected Ruby version
#
# Usage: rbenv exec COMMAND [arg1 arg2...]
# Usage: rbenv exec <command> [arg1 arg2...]
#
# Runs an executable by first preparing PATH so that the selected Ruby
# version is prepended to it.
# version's `bin' directory is at the front.
#
# For example, doing:
# RBENV_VERSION=1.9.3-p327 rbenv exec bundle install
# For example, if the currently selected Ruby version is 1.9.3-p327:
# rbenv exec bundle install
#
# has an effect is if this was done:
# PATH=~/.rbenv/versions/1.9.3-p327:"$PATH" bundle install
# is equivalent to:
# PATH="$RBENV_ROOT/versions/1.9.3-p327/bin:$PATH" bundle install
set -e
[ -n "$RBENV_DEBUG" ] && set -x