Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite4f61e6

Browse files
committed
Fix indentation in installation instructions
1 parent42aa760 commite4f61e6

File tree

1 file changed

+24
-33
lines changed

1 file changed

+24
-33
lines changed

‎README.md

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -122,40 +122,31 @@ Version names to rbenv are simply the names of the directories in
122122

123123
###Using Package Managers
124124

125-
1. Install rbenv.
126-
-**macOS**
127-
If you're on macOS, we recommend installing rbenv with
128-
[Homebrew](https://brew.sh).
125+
1. Install rbenv using one of the following approaches.
129126

130-
```sh
131-
brew install rbenv
132-
```
133-
134-
Note that this also installs`ruby-build`, so you'll be ready to
135-
install other Ruby versions out of the box.
127+
####Homebrew
136128

137-
-**Upgrading with Homebrew**
138-
139-
To upgrade to the latest rbenv and update ruby-build with newly released
140-
Ruby versions, upgrade the Homebrew packages:
141-
142-
```sh
143-
brew upgrade rbenv ruby-build
144-
```
145-
-**Debian, Ubuntu and their derivatives**
146-
147-
Note that the version of rbenv that is packaged and maintainedin the
148-
Debian and Ubuntu repositories is out of date. To install the latest
149-
version, it is recommended to [install rbenv using git](#basic-github-checkout).
150-
151-
```sh
152-
sudo apt install rbenv
153-
```
154-
-**Arch Linux and its derivatives**
155-
156-
Archlinux has an [AUR Package](https://aur.archlinux.org/packages/rbenv/)for
157-
rbenv and you can install it from the AUR using the instructions from this
158-
[wiki page](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages).
129+
On macOS or Linux, we recommend installing rbenv with[Homebrew](https://brew.sh).
130+
131+
```sh
132+
brew install rbenv ruby-build
133+
```
134+
135+
####Debian, Ubuntu, and their derivatives
136+
137+
Note that the version of rbenv that is packaged and maintained in the
138+
Debian and Ubuntu repositories is_out of date_. To install the latest
139+
version, it is recommended to[install rbenv using git](#basic-github-checkout).
140+
141+
```sh
142+
sudo apt install rbenv
143+
```
144+
145+
####Arch Linux and its derivatives
146+
147+
Archlinux has an[AUR Package](https://aur.archlinux.org/packages/rbenv/) for
148+
rbenv and you can install it from the AUR using the instructions from this
149+
[wiki page](https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_and_upgrading_packages).
159150

160151
2. Set up rbenv in your shell.
161152

@@ -187,7 +178,7 @@ If you're on macOS, we recommend installing rbenv with
187178
```
188179
189180
5. That's it! Installing rbenv includes ruby-build, so now you're ready to
190-
[install someotherRuby versions](#installing-ruby-versions) using
181+
[install some Ruby versions](#installing-ruby-versions) using
191182
`rbenv install`.
192183
193184

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp