You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the above case, JAVA_OPTS will only be set if $JAVA_OPTS is
currently empty (i.e., if [ -z "$JAVA_OPTS" ] is true).
Spaces are allowed in values; quoting is not necessary. Expansion and
command substitution are not allowed. Lines beginning with # or any
lines not in the format VAR=value will be ignored.
Variables specified in the $(rbenv root)/vars file will be set
first. Then variables specified in .rbenv-vars files in any parent
directories of the current directory will be set. Variables from the
.rbenv-vars file in the current directory are set last.
Use the rbenv vars command to print all environment variables in the
order they'll be set.
Version History
1.2.0 (January 9, 2013)
Fixed a bug where source files without a trailing newline could
concatenate improperly with other source files on systems with GNU
sed.
Changed the output of rbenv vars to include the source file path
in a comment above its variables, and an empty line between each
source file, for easier debugging.
Added support for rbenv help vars with rbenv 0.4.0.
1.1.0 (June 25, 2012)
Added support for conditional variable assignments using
?=. Thanks to Scott Gonyea for the patch.