1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macOS Mojave で RMagick gem を使う 2019年7月編

Posted at

macOS を Mojave にアップグレードしたら bundle install で RMagick が入らないよ!
またかよ。
(OS アップグレードのたびに起きるあれの解決策。)

前提環境

$ cc を実行して command not found だったら、Xcode commndline をインストールする。
$ xcode-select --install

原因

Homebrew で ImageMagick v.7 が入ったのが原因。RMagick は v.7 非対応。(2019-07現在)
https://github.com/rmagick/rmagick/issues/256

$ brew uninstall imagemagick
$ brew install imagemagick@6
$ brew link imagemagick@6
$ gem install rmagick # (または bundle install)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?