Mislav Marohnić
f237a11f4f
Have versions
emit a warning when no Ruby version was found
2014-10-13 04:02:04 +02:00
Sam Stephenson
5e52fae7c1
Accept "ruby-" version prefix but print a warning to stderr
2012-12-30 19:01:30 -06:00
Mislav Marohnić
3436bddaea
new-style documentation for most commands
2012-12-29 23:34:53 +01:00
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
2012-12-29 12:06:20 -06:00
Mislav Marohnić
b8715bfee6
foundation for a help system where each command holds its own docs
...
Docs are comprised from "Usage", "Summary" and "Help" sections, where
"Help" can span multiple commented lines. If it is missing, "Summary" is
shown in its place.
References #204 , references #206
2012-12-13 05:48:28 +01:00
Sam Stephenson
9289af0132
Don't include system
in rbenv versions --bare
output
2012-12-12 21:40:57 -06:00
Mislav Marohnić
e548877ead
have versions
also list "system" if it exists
...
Closes #263
2012-12-13 01:52:52 +01:00
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.
2012-12-12 00:25:02 +01:00
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
2011-09-12 10:11:59 -05:00
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
2011-09-11 11:58:57 -05:00
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.
2011-08-25 09:28:01 +02:00
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.
2011-08-12 11:33:45 +02:00
Ryan Baumann
bd0e1a73f9
Split rbenv-version into rbenv-version-name and rbenv-version-origin, update versions, prefix, and which appropriately
2011-08-09 16:41:35 -04:00
Sam Stephenson
9f18fe5031
Automatically create a default of system if it's missing instead of raising an error
2011-08-04 01:08:47 -05:00
Sam Stephenson
cd24495045
Silence the warning, too
2011-08-04 01:02:04 -05:00
Sam Stephenson
1235cbd0ef
rbenv-versions doesn't require a default to be present
2011-08-04 01:00:08 -05:00
Sam Stephenson
652135db7f
Add --bare option to rbenv-versions
2011-08-02 23:19:37 -05:00
Joshua Peek
d65141c7b5
Merge branch 'master' into libexec
...
Conflicts:
bin/rbenv
libexec/rbenv-shim
2011-08-02 19:41:03 -05:00
Joshua Peek
43624943ee
Move subcommands into libexec/
2011-08-02 18:01:46 -05:00