Skip to content

Commit

Permalink
Incompatibility with ImageMagick 7
Browse files Browse the repository at this point in the history
Added note and workaround about incompatibility with ImageMagick 7
  • Loading branch information
arnog authored Jan 30, 2019
1 parent 6d32371 commit b979101
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@ Either add `jekyll-responsive-image` to your Gemfile, or run the following comma
$ gem install jekyll-responsive-image
```

> **Note:** `jekyll-responsive-image` uses `rmagick` which is currently incompatible with `imagemagick 7`. If you get an error like:
>
> ```
> Can't install RMagick 2.16.0. Can't find MagickWand.h
> ```
> make sure you have `imagemagick 6` installed:
>
> ```
> $ brew uninstall imagemagick
> $ brew install imagemagick@6 && brew link imagemagick@6 --force
> ```
Then you can either add `jekyll-responsive-image` to the `plugins` section of your `_config.yml`:
```yaml
Expand Down Expand Up @@ -231,4 +244,4 @@ If you'd like your Jekyll project to use your local fork directly, you can add t
gem 'jekyll-responsive-image', :path => "/your/local/path/to/jekyll-responsive-image"
```

If you'd like your changes to be considered for the original repository, simply submit a pull request after you've made your changes. Please make sure all tests pass.
If you'd like your changes to be considered for the original repository, simply submit a pull request after you've made your changes. Please make sure all tests pass.

0 comments on commit b979101

Please sign in to comment.