Mislav Marohnić
47c8a0e0b8
fix `versions` in case current version doesn't exist
`rbenv-versions` tries to read the current version to display a marker
next to it, but if that fails the whole script aborts.
This change makes it so that the failures from `rbenv-version-name` are
tolerated. It also makes the `--bare` mode never call it in the first
place, because it doesn't need to display a marker.
13 jaren geleden
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
15 jaren geleden
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
15 jaren geleden
Alexander Rinass
5130f0464a
Support install locations other than $HOME/.rbenv.
Define RBENV_HOME env variable in libexec/rbenv and let all script delegates use this variable to determine rbenv's install location.
15 jaren geleden
Andreas Johansson
6938692ca2
Fix argument that cannot be sent to bash via env
/usr/bin/env seems to have problems with arguments to bash on some
platforms. To bypass this, use set -e instead.
15 jaren geleden
Ryan Baumann
bd0e1a73f9
Split rbenv-version into rbenv-version-name and rbenv-version-origin, update versions, prefix, and which appropriately
15 jaren geleden
Sam Stephenson
9f18fe5031
Automatically create a default of system if it's missing instead of raising an error
15 jaren geleden
Sam Stephenson
cd24495045
Silence the warning, too
15 jaren geleden
Sam Stephenson
1235cbd0ef
rbenv-versions doesn't require a default to be present
15 jaren geleden
Sam Stephenson
652135db7f
Add --bare option to rbenv-versions
15 jaren geleden
Joshua Peek
43624943ee
Move subcommands into libexec/
15 jaren geleden
Joshua Peek
c957d83b3a
Shebang -e flag
15 jaren geleden
Sam Stephenson
0c66f62c17
Style
15 jaren geleden
Sam Stephenson
1da746543f
Add missing `set -e`
15 jaren geleden
Sam Stephenson
99035a49a9
Initial commit
15 jaren geleden