Update rbenv installation script URL
Their master branch was renamed to main.
This commit is contained in:
@@ -29,7 +29,7 @@ sudo apt install libssl-dev autoconf bison build-essential libyaml-dev libreadli
|
|||||||
The next step is installing a Ruby version manager, like rbenv:
|
The next step is installing a Ruby version manager, like rbenv:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash
|
wget -q https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer -O- | bash
|
||||||
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
|
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
|
||||||
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
|
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ sudo apt install libssl-dev autoconf bison build-essential libyaml-dev libreadli
|
|||||||
A continuación instalaremos un gestor de versiones de Ruby, como rbenv:
|
A continuación instalaremos un gestor de versiones de Ruby, como rbenv:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash
|
wget -q https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer -O- | bash
|
||||||
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
|
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
|
||||||
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
|
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|||||||
Reference in New Issue
Block a user