瀏覽代碼

Add upgrade instructions

pull/360/head^2
Sam Stephenson 15 年之前
父節點
當前提交
26a08c6d12
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. +22
    -0
      doc/README.mdtoc

+ 22
- 0
doc/README.mdtoc 查看文件

@ -116,6 +116,28 @@ when installing a gem that provides a binary).
$ rbenv rehash
### Upgrading an existing installation ###
If you've installed rbenv using the instructions above, you can
upgrade your installation at any time using git.
To upgrade to the latest development version of rbenv, use `git pull`:
$ cd ~/.rbenv
$ git pull
To upgrade to a specific release of rbenv, check out the corresponding
tag:
$ cd ~/.rbenv
$ git fetch
$ git tag
v0.1.0
v0.1.1
v0.1.2
v0.2.0
$ git checkout v0.2.0
## Usage ##
Like `git`, the `rbenv` command delegates to subcommands based on its

Loading…
取消
儲存