/ / imagemagickを「作成」できません-ruby、imagemagick、homebrew、rmagick

'リンクを繋げない' imagemagick - ruby​​、imagemagick、homebrew、rmagick

brew経由でImagemagickをインストールしようとしていますが、インストール時にこのメッセージが表示されます。

    Warning: imagemagick-6.8.6-3 already installed, it"s just not linked

brewリンク経由でリンクしようとすると、次のようになります。

    brew link imagemagick
Warning: Could not link imagemagick. Unlinking...
Linking /usr/local/Cellar/imagemagick/6.8.6-3...
Error: File exists - /usr/local/etc

アイデア??私はもう試した:

    "brew link -f imagemagick"

運がなければ(上記と同じエラーメッセージが表示されます)。ここで提案されました: ImageMagickとのリンク

醸造の更新によると、私は最新です。醸造医はこれを返します:

    Warning: You have MacPorts or Fink installed:
/Users/user_name/.rvm/bin/port, /opt/local/bin/port

This can cause trouble. You don"t have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

sudo mv /opt/local ~/macports

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:

imagemagick

回答:

回答№1は1

imagemagickファイルを削除する必要があります /usr/local/etc brewがそこに新しいものを書き込めるようにします。

古いファイルは、醸造以外の何かによってそこに置かれました。おそらく別のパッケージマネージャー。

更新2015.03.07:上記のコメントで説明したように、フォルダを完全に削除する必要がある場合があります。 (ただし、適切なアクセス許可とグループを設定することは、同等の手段かもしれません。)