Daniel Hahler
e3982fae38
Display version origin with non-installed versions
This is useful as an indicator where it is coming from.
пре 11 година
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 година
Sam Stephenson
d2a8ca7d89
Tweak the ruby- prefix warning
пре 13 година
Sam Stephenson
5e52fae7c1
Accept "ruby-" version prefix but print a warning to stderr
пре 13 година
Mislav Marohnić
3436bddaea
new-style documentation for most commands
пре 13 година
Sam Stephenson
0632325a43
Set RBENV_DEBUG=1 to see what's going on under the hood
пре 15 година
Sam Stephenson
7ac964353f
RBENV_HOME -> RBENV_ROOT
пре 15 година
Sam Stephenson
db2a94d4bc
`rbenv-version-name` returns `system` for empty version files. Closes #62 , #65 , #77 .
пре 15 година
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 година
Sam Stephenson
5be66da9f4
Rename rbenv-default to rbenv-global
пре 15 година
Sam Stephenson
506bc3634f
Extract rbenv-version-file{,-read,-write}
пре 15 година
Sam Stephenson
71b5965540
Use read instead of egrep for reading version files. Closes #41 .
пре 15 година
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 година
Ryan Baumann
bd0e1a73f9
Split rbenv-version into rbenv-version-name and rbenv-version-origin, update versions, prefix, and which appropriately
пре 15 година
Sam Stephenson
9f18fe5031
Automatically create a default of system if it's missing instead of raising an error
пре 15 година
Sam Stephenson
e0e2d93639
Add support for RBENV_VERSION=system
пре 15 година
Joshua Peek
43624943ee
Move subcommands into libexec/
пре 15 година
Joshua Peek
c957d83b3a
Shebang -e flag
пре 15 година
Sam Stephenson
8246dc8d8a
Avoid globals
пре 15 година
Sam Stephenson
99035a49a9
Initial commit
пре 15 година