aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorMr. Outis <mroutis@protonmail.com>2018-08-21 20:47:48 -0500
committerMr. Outis <mroutis@protonmail.com>2018-08-21 20:48:04 -0500
commit63f63fe67bb7103ebedc406962cdc0317702d5de (patch)
tree7d2541dfd9ab68a495ef4b6c363b05613deff611 /guides
parentc03dde6117ed995d1ada57736b5b0d44dfe31ed5 (diff)
downloadrails-63f63fe67bb7103ebedc406962cdc0317702d5de.tar.gz
rails-63f63fe67bb7103ebedc406962cdc0317702d5de.tar.bz2
rails-63f63fe67bb7103ebedc406962cdc0317702d5de.zip
[ci skip] Add ImageMagick to ActiveStorage dependencies
In order to run ActiveStorage's tests successfully, you need imagemagick.
Diffstat (limited to 'guides')
-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
+```