Skip to content

Commit

Permalink
Merge pull request #45 from jasonkarns/copyable-commands
Browse files Browse the repository at this point in the history
Copyable commands on readme
  • Loading branch information
mislav committed Mar 3, 2023
2 parents ae22799 + 124235e commit 3392664
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ install/upgrade`. Otherwise, rbenv is installed under `~/.rbenv`.
Additionally, [ruby-build](https://github.com/rbenv/ruby-build#readme) is also
installed if `rbenv install` is not already available.

```sh
# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
with curl:

# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer -O- | bash
```
```sh
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
```

alternatively, with wget:

```sh
wget -q https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer -O- | bash
```

> **Note**
The installer script is meant for casual use on your own development machine.
For automating installation across machines it's better to _avoid_ using this
script in favor of fine-tuning rbenv & ruby-build installation manually. Some
Expand All @@ -28,10 +33,14 @@ you are installing rbenv there, you are likely doing something wrong.
You can verify the state of your rbenv installation with:
```sh
# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor | bash
with curl:
```sh
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor | bash
```
alternatively, with wget:
# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor -O- | bash
```
```sh
wget -q https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-doctor -O- | bash
```

0 comments on commit 3392664

Please sign in to comment.