mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05: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
|
$ exec $SHELL -l
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
5. Install Ruby versions into `~/.rbenv/versions`. For example, to
|
5. Install [ruby-build][], which provides an `rbenv install`
|
||||||
manually compile Ruby [from source](https://github.com/ruby/ruby),
|
command that simplifies the process of installing new Ruby versions.
|
||||||
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:
|
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
$ rbenv install 1.9.3-p327
|
$ 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
|
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,
|
a new Ruby binary (for example, when installing a new Ruby version,
|
||||||
or when installing a gem that provides a binary).
|
or when installing a gem that provides a binary).
|
||||||
|
|
Loading…
Reference in a new issue