mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-18 00:03:45 -05:00
Report default or local version.
If no argument is passed to the default or local sub commands, report the currently configured version.
This commit is contained in:
@@ -134,6 +134,9 @@ overridden by a per-project `.rbenv-version` file, or by setting the
|
||||
The special version name `system` tells rbenv to use the system Ruby
|
||||
(detected by searching your `$PATH`).
|
||||
|
||||
When run without a version number the currently configured default
|
||||
version is reported.
|
||||
|
||||
### <a name="section_3.2"></a> 3.2 local
|
||||
|
||||
Sets a local per-project Ruby version by writing the version name to
|
||||
@@ -143,6 +146,9 @@ overrides the default, and can be overridden itself by setting the
|
||||
|
||||
$ rbenv local rbx-1.2.4
|
||||
|
||||
When run without a version number the currently configured local
|
||||
version is reported.
|
||||
|
||||
### <a name="section_3.3"></a> 3.3 versions
|
||||
|
||||
Lists all Ruby versions known to rbenv, and shows an asterisk next to
|
||||
|
||||
Reference in New Issue
Block a user