Sam Stephenson
045f6c1bce
Merge pull request #314 from jalcine/feature/ignoring-thy-sources
Ignoring Your Sources
vor 13 Jahren
Jacky Alciné
1d4261a997
Added 'sources' to the Git ignores.
vor 13 Jahren
Sam Stephenson
da80bced53
Merge pull request #310 from leocassarani/rbenv-help-mawk
Fix incorrect formatting of rbenv-help output under MAWK
vor 13 Jahren
Leo Cassarani
1d687ac734
Fix incorrect formatting of rbenv-help output under MAWK
In systems that use the MAWK interpreter (the default AWK installed with
Ubuntu), the output of `rbenv help <command>` would have no line breaks.
The issue is fixed by changing `gsub` to `sub` in the snippet of awk
commands that are used to extract documentation comments.
I suspect the bug is something to do with the way the '^' and '$'
characters are interpreted by different AWK interpreters (per-line vs
per-string anchors).
If I understand correctly, the purpose of trim() is to remove all line
breaks from the start and end of each sections of a command's
documentation, in which case `sub` should serve the same purpose.
vor 13 Jahren
Ryan Bigg
bef7a12964
Merge pull request #308 from eddorre/master
Small update to the README.
vor 13 Jahren
Carlos Rodriguez
14ff078b85
Removed double 'at' from README
vor 13 Jahren
Mislav Marohnić
cd940bd797
typo in docs
vor 13 Jahren
Mislav Marohnić
093809eac6
spellcheck
vor 13 Jahren
Sam Stephenson
c56f72794e
Fix ruby-local-exec wiki page link in the changelog
vor 13 Jahren
Sam Stephenson
9375e99f92
rbenv 0.4.0
vor 13 Jahren
Sam Stephenson
b66eeaf2f7
Link up the "Why choose rbenv?" wiki page
vor 13 Jahren
Mislav Marohnić
c6855e01a9
zshenv -> zshrc. update Ubuntu/zsh installation notices
vor 13 Jahren
Sam Stephenson
7f975a37f9
Deprecate ruby-local-exec
vor 13 Jahren
Sam Stephenson
41cfa5f3d0
Link to the binstubs wiki page
vor 13 Jahren
Sam Stephenson
9c45206c28
Remove unused doc directory
vor 13 Jahren
Sam Stephenson
308aa42b67
Rewrite "How It Works" with @trevorturk
vor 13 Jahren
Sam Stephenson
5174d14d5c
It's all about the apps
vor 13 Jahren
Sam Stephenson
6fe338e563
New tagline
vor 13 Jahren
Sam Stephenson
266d896871
Prioritize `rbenv local` over `rbenv global` and `rbenv shell`
vor 13 Jahren
Sam Stephenson
7e85ae7bd2
"Usage" -> "Command Reference"
vor 13 Jahren
Sam Stephenson
9a284a3da4
Update the uninstallation section
vor 13 Jahren
Sam Stephenson
871f0e26df
Tone down the RVM incompatibility notice
vor 13 Jahren
Sam Stephenson
e56885f4c9
"binary" -> "executable"
vor 13 Jahren
Sam Stephenson
149f4b4607
"per-project" -> "application-specific"
vor 13 Jahren
Sam Stephenson
80750f730f
Merge pull request #302 from sstephenson/ruby-version
Support for .ruby-version files
vor 13 Jahren
Jeremy Kemper
253f6ee1d9
-information in readme pitch
vor 13 Jahren
Jeremy Kemper
bac149e824
Riff on the readme pitch
vor 13 Jahren
Sam Stephenson
3ec34448fa
Rewrite the readme pitch
vor 13 Jahren
Sam Stephenson
919c4240fc
Clarify that .rbenv-version is removed when migrating
vor 13 Jahren
Sam Stephenson
44c2378f2a
Shims include the full path to rbenv
This makes it possible to execute rbenv shims without rbenv's bin
directory in the path.
vor 13 Jahren
Sam Stephenson
377b176260
Document .ruby-version
vor 13 Jahren
Sam Stephenson
d2a8ca7d89
Tweak the ruby- prefix warning
vor 13 Jahren
Sam Stephenson
d4faae187a
Read both .ruby-version and .rbenv-version, but write (and migrate to) .ruby-version
vor 13 Jahren
Sam Stephenson
5e52fae7c1
Accept "ruby-" version prefix but print a warning to stderr
vor 13 Jahren
Sam Stephenson
b974bf54dc
Prefer .ruby-version to .rbenv-version for reading local versions
vor 13 Jahren
Sam Stephenson
4b6c91e827
Usage consistency
vor 13 Jahren
Sam Stephenson
51467dc4a3
Include `install` and `uninstall` in help if ruby-build is installed
vor 13 Jahren
Sam Stephenson
eb79a3edaa
Merge pull request #292 from sstephenson/help
help system where each command holds its own docs
vor 13 Jahren
Sam Stephenson
37eca782cc
Documentation tweaks
vor 13 Jahren
Sam Stephenson
19666f2598
Wrap documentation comments at 70 columns
vor 13 Jahren
Mislav Marohnić
3436bddaea
new-style documentation for most commands
vor 13 Jahren
Mislav Marohnić
5cc6b0e3d3
allow indented lines in help text
Before, lines of help that were indented were stripped away.
vor 13 Jahren
Mislav Marohnić
2b21e22e97
display help for commands that have Summary but not Usage
A command doesn't have to specify Usage docs if it doesn't accept any
arguments. The default usage for a command will be printed as:
Usage: rbenv ${command}
vor 13 Jahren
Sam Stephenson
57df945738
Don't print version before help summary (bare `rbenv` already does this)
vor 13 Jahren
Sam Stephenson
e2e474c59d
Add `rbenv help --usage`
vor 13 Jahren
Sam Stephenson
4c19dc22d7
Improve syntax for inline documentation and allow for multi-line usage
vor 13 Jahren
Sam Stephenson
ef44b4ccac
Merge branch 'master' into help
vor 13 Jahren
Mislav Marohnić
8ee2f2657a
avoid prepending system ruby to PATH
System ruby is already on PATH (that's the definition of system ruby) and by
duplicating its path by putting it in front, we can break the user's
environment.
Fixes #275
vor 13 Jahren
Sam Stephenson
f635c8715c
Add zsh support for completion of full command line
vor 13 Jahren
Sam Stephenson
3ceeb72ac6
Merge remote-tracking branch 'griff/morecompletion'
vor 13 Jahren