aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2018-08-09 20:08:31 +0200
committerRobin Dupret <robin.dupret@gmail.com>2018-08-09 20:12:11 +0200
commit74ce503fa9899d746d775c4d0cd29f702e34b1bf (patch)
treeecf3e98b6883f8f17fd416a7a1fc6f50cd11223d /guides
parentb031a9a4f44397cfeed1dd74524a44dfbd199be7 (diff)
downloadrails-74ce503fa9899d746d775c4d0cd29f702e34b1bf.tar.gz
rails-74ce503fa9899d746d775c4d0cd29f702e34b1bf.tar.bz2
rails-74ce503fa9899d746d775c4d0cd29f702e34b1bf.zip
Add missing instructions for FreeBSD [ci skip]
The development dependencies installation guides have the installation instructions for FreeBSD in other sections so let's be consistent regarding the dependencies for Active Storage setup. Also fix a few typos.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/development_dependencies_install.md28
1 files changed, 18 insertions, 10 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md
index 057bcf2c1b..7a414f21fe 100644
--- a/guides/source/development_dependencies_install.md
+++ b/guides/source/development_dependencies_install.md
@@ -377,30 +377,38 @@ command inside of the `activestorage` directory to install the dependencies:
yarn install
```
-Extracting previews, tested in ActiveStorage's test suite requires third-party
+Extracting previews, tested in Active Storage's test suite requires third-party
applications, FFmpeg for video and muPDF for PDFs, and on macOS also XQuartz
-and Poppler. Without these applications installed, ActiveStorage tests will
+and Poppler. Without these applications installed, Active Storage tests will
raise errors.
On macOS you can run:
```bash
-brew install ffmpeg
-brew cask install xquartz
-brew install mupdf-tools
-brew install poppler
+$ brew install ffmpeg
+$ brew cask install xquartz
+$ brew install mupdf-tools
+$ brew install poppler
```
On Ubuntu, you can run:
```bash
-sudo apt-get update && install ffmpeg
-sudo apt-get update && install mupdf mupdf-tools
+$ sudo apt-get update
+$ sudo apt-get install ffmpeg
+$ sudo apt-get install mupdf mupdf-tools
```
On Fedora or CentOS, just run:
```bash
-sudo yum install ffmpeg
-sudo yum install mupdf
+$ sudo yum install ffmpeg
+$ sudo yum install mupdf
+```
+
+FreeBSD users can just run:
+
+```bash
+# pkg install ffmpeg
+# pkg install mupdf
```