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