aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAnton Rieder <aried3r@gmail.com>2018-08-16 12:31:24 +0200
committerAnton Rieder <aried3r@gmail.com>2018-08-16 12:31:49 +0200
commit852b6886690e5ff68b78fae23d678ee2ba75d92b (patch)
treee073a05bd1f402f0498f2f816c01342dfd0c26a4 /guides
parent265eeb25592cccb1918641290c1b0259f700d02c (diff)
downloadrails-852b6886690e5ff68b78fae23d678ee2ba75d92b.tar.gz
rails-852b6886690e5ff68b78fae23d678ee2ba75d92b.tar.bz2
rails-852b6886690e5ff68b78fae23d678ee2ba75d92b.zip
Harmonize shell commands in dev guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/development_dependencies_install.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md
index 7a414f21fe..439797ddcb 100644
--- a/guides/source/development_dependencies_install.md
+++ b/guides/source/development_dependencies_install.md
@@ -350,31 +350,31 @@ prerequisite for installing this package manager is that
On macOS, you can run:
```bash
-brew install yarn
+$ brew install yarn
```
On Ubuntu, you can run:
```bash
-curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
-echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
+$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
+$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
-sudo apt-get update && sudo apt-get install yarn
+$ sudo apt-get update && sudo apt-get install yarn
```
On Fedora or CentOS, just run:
```bash
-sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
+$ sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
-sudo yum install yarn
+$ sudo yum install yarn
```
Finally, after installing Yarn, you will need to run the following
command inside of the `activestorage` directory to install the dependencies:
```bash
-yarn install
+$ yarn install
```
Extracting previews, tested in Active Storage's test suite requires third-party