Daniel Hahler
e3982fae38
Display version origin with non-installed versions
This is useful as an indicator where it is coming from.
11 anos atrás
Mislav Marohnić
6820704c91
Remove warning about extraneous "ruby-" prefix in `.ruby-version`
When we started to support reading `.ruby-version` files, we made a
commitment to not support fuzzy version matching. Treating "ruby-2.1.5"
as "2.1.5" is a sort of fuzzy matching, so we put in place a warning
telling you to remove the extraneous "ruby-" prefix popularly used by
other Ruby version managers to denote MRI. (Their logic is that MRI is
"ruby" and other rubies are not "ruby", apparently.)
However, people are often not able to remove the prefix in their
projects because they want to support other coworkers and tools that
sadly still require the prefix, like RubyMine.
So to restore sanity for a big portion of our users, the warning is gone.
11 anos atrás
Sam Stephenson
d2a8ca7d89
Tweak the ruby- prefix warning
13 anos atrás
Sam Stephenson
5e52fae7c1
Accept "ruby-" version prefix but print a warning to stderr
13 anos atrás
Mislav Marohnić
3436bddaea
new-style documentation for most commands
13 anos atrás
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
15 anos atrás
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
15 anos atrás
Sam Stephenson
db2a94d4bc
`rbenv-version-name` returns `system` for empty version files. Closes #62 , #65 , #77 .
15 anos atrás
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 anos atrás
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
15 anos atrás
Sam Stephenson
506bc3634f
Extract rbenv-version-file{,-read,-write}
15 anos atrás
Sam Stephenson
71b5965540
Use read instead of egrep for reading version files. Closes #41 .
15 anos atrás
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 anos atrás
Ryan Baumann
bd0e1a73f9
Split rbenv-version into rbenv-version-name and rbenv-version-origin, update versions, prefix, and which appropriately
15 anos atrás
Sam Stephenson
9f18fe5031
Automatically create a default of system if it's missing instead of raising an error
15 anos atrás
Sam Stephenson
e0e2d93639
Add support for RBENV_VERSION=system
15 anos atrás
Joshua Peek
43624943ee
Move subcommands into libexec/
15 anos atrás
Joshua Peek
c957d83b3a
Shebang -e flag
15 anos atrás
Sam Stephenson
8246dc8d8a
Avoid globals
15 anos atrás
Sam Stephenson
99035a49a9
Initial commit
15 anos atrás