Unify doc on installation debian section
This commit is contained in:
@@ -52,7 +52,7 @@ command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
|
|||||||
curl -L https://get.rvm.io | bash -s stable
|
curl -L https://get.rvm.io | bash -s stable
|
||||||
```
|
```
|
||||||
|
|
||||||
then add rvm script source to user's bash (~/.bashrc) (this step is only necessary if you can't execute the rvm command)
|
then add rvm script source to user's bash (source /root/.bashrc) (this step is only necessary if you can't execute the rvm command)
|
||||||
|
|
||||||
```
|
```
|
||||||
[[ -s /usr/local/rvm/scripts/rvm ]] && source /usr/local/rvm/scripts/rvm
|
[[ -s /usr/local/rvm/scripts/rvm ]] && source /usr/local/rvm/scripts/rvm
|
||||||
@@ -61,7 +61,7 @@ then add rvm script source to user's bash (~/.bashrc) (this step is only necessa
|
|||||||
and finally, reload .bashrc to be able to run RVM
|
and finally, reload .bashrc to be able to run RVM
|
||||||
|
|
||||||
```
|
```
|
||||||
source ~/.bashrc
|
source /root/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
with all this, you are suppose to be able to install a ruby version from rvm, as for example version 2.4.9:
|
with all this, you are suppose to be able to install a ruby version from rvm, as for example version 2.4.9:
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ command curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
|
|||||||
curl -L https://get.rvm.io | bash -s stable
|
curl -L https://get.rvm.io | bash -s stable
|
||||||
```
|
```
|
||||||
|
|
||||||
después añadimos el script rvm a nuestro bash (~/.bashrc) (este paso sólo es necesario si no puedes ejecutar el comando rvm)
|
después añadimos el script rvm a nuestro bash (source /root/.bashrc) (este paso sólo es necesario si no puedes ejecutar el comando rvm)
|
||||||
|
|
||||||
```
|
```
|
||||||
[[ -s /usr/local/rvm/scripts/rvm ]] && source /usr/local/rvm/scripts/rvm
|
[[ -s /usr/local/rvm/scripts/rvm ]] && source /usr/local/rvm/scripts/rvm
|
||||||
@@ -60,7 +60,7 @@ después añadimos el script rvm a nuestro bash (~/.bashrc) (este paso sólo es
|
|||||||
por úlitmo, volvemos a cargar el .bashrc para poder ejecutar RVM
|
por úlitmo, volvemos a cargar el .bashrc para poder ejecutar RVM
|
||||||
|
|
||||||
```
|
```
|
||||||
source ~/.bashrc
|
source /root/.bashrc
|
||||||
```
|
```
|
||||||
|
|
||||||
con todo esto, deberías poder instalar la versión de ruby con rvm, por ejemplo la 2.4.9:
|
con todo esto, deberías poder instalar la versión de ruby con rvm, por ejemplo la 2.4.9:
|
||||||
|
|||||||
Reference in New Issue
Block a user