Incompatibility with ImageMagick 7
Added note and workaround about incompatibility with ImageMagick 7
This commit is contained in:
parent
6d323718cf
commit
b9791014de
15
README.md
15
README.md
|
@ -17,6 +17,19 @@ Either add `jekyll-responsive-image` to your Gemfile, or run the following comma
|
||||||
$ gem install jekyll-responsive-image
|
$ 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`:
|
Then you can either add `jekyll-responsive-image` to the `plugins` section of your `_config.yml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -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"
|
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.
|
||||||
|
|
Loading…
Reference in New Issue