diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-06-11 15:39:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 15:39:29 -0400 |
commit | b12d646f6f3fbb6d7bac42e8b836e4a0f22f69b4 (patch) | |
tree | 7306821450c714954b13e47f18156f3b38cb3577 /guides | |
parent | 832b7a7ca330a38235d9bdecb18fa9dbf4ed156f (diff) | |
parent | d70bd73f05aa0c1f40c85548607c13e7322d8718 (diff) | |
download | rails-b12d646f6f3fbb6d7bac42e8b836e4a0f22f69b4.tar.gz rails-b12d646f6f3fbb6d7bac42e8b836e4a0f22f69b4.tar.bz2 rails-b12d646f6f3fbb6d7bac42e8b836e4a0f22f69b4.zip |
Merge pull request #32997 from utilum/dev_dep_guide_update_ast_requirements
Dev-Dep guide: mention AST third party requirements
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_storage_overview.md | 11 | ||||
-rw-r--r-- | guides/source/development_dependencies_install.md | 28 |
2 files changed, 34 insertions, 5 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index cb9acdadcf..e7a94fc510 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -446,11 +446,12 @@ the box, Active Storage supports previewing videos and PDF documents. </ul> ``` -WARNING: Extracting previews requires third-party applications, `ffmpeg` for -video and `mutool` for PDFs. These libraries are not provided by Rails. You must -install them yourself to use the built-in previewers. Before you install and use -third-party software, make sure you understand the licensing implications of -doing so. +WARNING: Extracting previews requires third-party applications, `FFmpeg` for +video and `muPDF` for PDFs, and on macOS also `XQuartz` and `Poppler`. +These libraries are not provided by Rails. You must install them yourself to +use the built-in previewers. Before you install and use third-party software, +make sure you understand the licensing implications of doing so. + Direct Uploads -------------- diff --git a/guides/source/development_dependencies_install.md b/guides/source/development_dependencies_install.md index 50274d700b..fdd560ccf3 100644 --- a/guides/source/development_dependencies_install.md +++ b/guides/source/development_dependencies_install.md @@ -376,3 +376,31 @@ command inside of the `activestorage` directory to install the dependencies: ```bash yarn install ``` + +Extracting previews, tested in ActiveStorage'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 raise errors. + +On macOS you can run: + +```bash +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 +``` + +On Fedora or CentOS, just run: + +```bash +sudo yum install ffmpeg +sudo yum install mupdf +``` |