Skip to content

Commit

Permalink
Add libvips to Development Dependency guide
Browse files Browse the repository at this point in the history
  • Loading branch information
skipkayhil committed May 1, 2022
1 parent 6086c51 commit 1dfd035
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ cask "xquartz"
brew "mupdf"
brew "poppler"
brew "imagemagick"
brew "vips"
14 changes: 7 additions & 7 deletions guides/source/development_dependencies_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ Here's the list of each gems' additional dependencies:
* Action Cable depends on Redis
* Active Record depends on SQLite3, MySQL and PostgreSQL
* Active Storage depends on Yarn (additionally Yarn depends on
[Node.js](https://nodejs.org/)), ImageMagick, FFmpeg, muPDF, and on macOS
also XQuartz and Poppler.
[Node.js](https://nodejs.org/)), ImageMagick, libvips, FFmpeg, muPDF, and on
macOS also XQuartz and Poppler.
* Active Support depends on memcached and Redis
* Railties depend on a JavaScript runtime environment, such as having
[Node.js](https://nodejs.org/) installed.

Install all the services you need to properly test the full gem you'll be
making changes to. How to install these services for macOS, Ubuntu, Fedora/CentOS,
and FreeBSD are detailed below.
Arch Linux, and FreeBSD are detailed below.

NOTE: Redis' documentation discourages installations with package managers as those are usually outdated. Installing from source and bringing the server up is straight forward and well documented on [Redis' documentation](https://redis.io/download#installation).

Expand Down Expand Up @@ -119,7 +119,7 @@ To install all run:

```bash
$ sudo apt-get update
$ sudo apt-get install sqlite3 libsqlite3-dev mysql-server libmysqlclient-dev postgresql postgresql-client postgresql-contrib libpq-dev redis-server memcached imagemagick ffmpeg mupdf mupdf-tools libxml2-dev
$ sudo apt-get install sqlite3 libsqlite3-dev mysql-server libmysqlclient-dev postgresql postgresql-client postgresql-contrib libpq-dev redis-server memcached imagemagick ffmpeg mupdf mupdf-tools libxml2-dev lipvips42

# Install Yarn
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
Expand All @@ -132,7 +132,7 @@ $ sudo apt-get install yarn
To install all run:

```bash
$ sudo dnf install sqlite-devel sqlite-libs mysql-server mysql-devel postgresql-server postgresql-devel redis memcached imagemagick ffmpeg mupdf libxml2-devel
$ sudo dnf install sqlite-devel sqlite-libs mysql-server mysql-devel postgresql-server postgresql-devel redis memcached imagemagick ffmpeg mupdf libxml2-devel vips

# Install Yarn
# Use this command if you do not have Node.js installed
Expand All @@ -147,7 +147,7 @@ $ sudo dnf install yarn
To install all run:

```bash
$ sudo pacman -S sqlite mariadb libmariadbclient mariadb-clients postgresql postgresql-libs redis memcached imagemagick ffmpeg mupdf mupdf-tools poppler yarn libxml2
$ sudo pacman -S sqlite mariadb libmariadbclient mariadb-clients postgresql postgresql-libs redis memcached imagemagick ffmpeg mupdf mupdf-tools poppler yarn libxml2 libvips
$ sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
$ sudo systemctl start redis mariadb memcached
```
Expand All @@ -160,7 +160,7 @@ use MariaDB instead (see [this announcement](https://www.archlinux.org/news/mari
To install all run:

```bash
$ pkg install sqlite3 mysql80-client mysql80-server postgresql11-client postgresql11-server memcached imagemagick ffmpeg mupdf yarn libxml2
$ pkg install sqlite3 mysql80-client mysql80-server postgresql11-client postgresql11-server memcached imagemagick ffmpeg mupdf yarn libxml2 vips
# portmaster databases/redis
```

Expand Down

0 comments on commit 1dfd035

Please sign in to comment.