mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 19:53:35 +00:00
parent
1ebcbd92e2
commit
c3fe192243
1 changed files with 5 additions and 13 deletions
18
README.md
18
README.md
|
@ -128,24 +128,16 @@ easy to fork and contribute any changes back upstream.
|
|||
$ exec $SHELL -l
|
||||
~~~
|
||||
|
||||
5. Install Ruby versions into `~/.rbenv/versions`. For example, to
|
||||
manually compile Ruby [from source](https://github.com/ruby/ruby),
|
||||
download it and run:
|
||||
|
||||
~~~ sh
|
||||
$ [ -f ./configure ] || autoconf
|
||||
$ ./configure --prefix=$HOME/.rbenv/versions/1.9.3-p327
|
||||
$ make
|
||||
$ make install
|
||||
~~~
|
||||
|
||||
The [ruby-build][] project, however, provides an `rbenv install`
|
||||
command that simplifies the process of installing new Ruby versions:
|
||||
5. Install [ruby-build][], which provides an `rbenv install`
|
||||
command that simplifies the process of installing new Ruby versions.
|
||||
|
||||
~~~
|
||||
$ rbenv install 1.9.3-p327
|
||||
~~~
|
||||
|
||||
As an alternative, you can download and compile Ruby yourself into
|
||||
`~/.rbenv/versions/`.
|
||||
|
||||
6. Rebuild the shim binaries. You should do this any time you install
|
||||
a new Ruby binary (for example, when installing a new Ruby version,
|
||||
or when installing a gem that provides a binary).
|
||||
|
|
Loading…
Reference in a new issue