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 години