aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2018-08-21 21:51:58 -0400
committerGitHub <noreply@github.com>2018-08-21 21:51:58 -0400
commitc658c134b738357430e78bdd7eff2f3308540ad9 (patch)
tree7d2541dfd9ab68a495ef4b6c363b05613deff611
parentc03dde6117ed995d1ada57736b5b0d44dfe31ed5 (diff)
parent63f63fe67bb7103ebedc406962cdc0317702d5de (diff)
downloadrails-c658c134b738357430e78bdd7eff2f3308540ad9.tar.gz
rails-c658c134b738357430e78bdd7eff2f3308540ad9.tar.bz2
rails-c658c134b738357430e78bdd7eff2f3308540ad9.zip
Merge pull request #33680 from mroutis/update-guides-activestorage-dependencies
[ci skip] Add ImageMagick to ActiveStorage dependencies
-rw-r--r--guides/source/development_dependencies_install.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md
index 439797ddcb..a56a78e4f8 100644
--- a/guides/source/development_dependencies_install.md
+++ b/guides/source/development_dependencies_install.md
@@ -378,7 +378,7 @@ $ yarn install
```
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
+applications, ImageMagick for images, FFmpeg for video and muPDF for PDFs, and on macOS also XQuartz
and Poppler. Without these applications installed, Active Storage tests will
raise errors.
@@ -386,6 +386,7 @@ On macOS you can run:
```bash
$ brew install ffmpeg
+$ brew install imagemagick
$ brew cask install xquartz
$ brew install mupdf-tools
$ brew install poppler
@@ -396,6 +397,7 @@ On Ubuntu, you can run:
```bash
$ sudo apt-get update
$ sudo apt-get install ffmpeg
+$ sudo apt-get install imagemagick
$ sudo apt-get install mupdf mupdf-tools
```
@@ -403,12 +405,22 @@ On Fedora or CentOS, just run:
```bash
$ sudo yum install ffmpeg
+$ sudo yum install imagemagick
$ sudo yum install mupdf
```
FreeBSD users can just run:
```bash
+# pkg install imagemagick
# pkg install ffmpeg
# pkg install mupdf
```
+
+On Arch Linux, you can run:
+```bash
+$ sudo pacman -S ffmpeg
+$ sudo pacman -S imagemagick
+$ sudo pacman -S mupdf mupdf-tools
+$ sudo pacman -S poppler
+```