aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/development_dependencies_install.md
diff options
context:
space:
mode:
authorRichard Schneeman <richard.schneeman+no-recruiters@gmail.com>2018-08-16 06:05:55 -0700
committerGitHub <noreply@github.com>2018-08-16 06:05:55 -0700
commit9730d313c3b47e85a338de785576d5a3917bfdf8 (patch)
tree67809a0e9eb280606358cffdc11c94a191583570 /guides/source/development_dependencies_install.md
parentb40fbb5f9520ea2280a1deceaea8980fc620ac46 (diff)
parent852b6886690e5ff68b78fae23d678ee2ba75d92b (diff)
downloadrails-9730d313c3b47e85a338de785576d5a3917bfdf8.tar.gz
rails-9730d313c3b47e85a338de785576d5a3917bfdf8.tar.bz2
rails-9730d313c3b47e85a338de785576d5a3917bfdf8.zip
Merge pull request #33576 from aried3r/patch-5
Harmonize shell commands in dev guide [ci skip]
Diffstat (limited to 'guides/source/development_dependencies_install.md')
-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