1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
Robin Dupret 2018-08-09 20:08:31 +02:00
parent b031a9a4f4
commit 74ce503fa9

View file

@ -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
```