Skip to content

Instantly share code, notes, and snippets.

@clonn
Last active December 15, 2015 17:39
Show Gist options
  • Save clonn/5298327 to your computer and use it in GitHub Desktop.
Save clonn/5298327 to your computer and use it in GitHub Desktop.
lolcommits enable or disable fail issue
$lolcommits --disable
dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib
Referenced from: /usr/local/bin/mogrify
Reason: image not found
/Library/Ruby/Gems/1.8/gems/mini_magick-3.5.0/lib/mini_magick.rb:26:in `image_magick_version': private method `split' called for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/mini_magick-3.5.0/lib/mini_magick.rb:34:in `valid_version_installed?'
from /Library/Ruby/Gems/1.8/gems/lolcommits-0.4.3/lib/lolcommits/configuration.rb:137:in `valid_imagemagick_installed?'
from /Library/Ruby/Gems/1.8/gems/lolcommits-0.4.3/bin/lolcommits:43:in `die_on_fatal_conditions!'
from /Library/Ruby/Gems/1.8/gems/lolcommits-0.4.3/bin/lolcommits:287
from /usr/bin/lolcommits:23:in `load'
from /usr/bin/lolcommits:23
$brew rm imagemagick
$brew install imagemagick
Error: You must `brew link jpeg' before imagemagick can be installed'`
$brew link jpeg
Linking /usr/local/Cellar/jpeg/8d... Warning: Could not link jpeg. Unlinking...
Error: Could not symlink file: /usr/local/Cellar/jpeg/8d/include/jpeglib.h
Target /usr/local/include/jpeglib.h already exists. You may need to delete it.
To force the link and delete this file, do:
brew link -f formula_name
To list all files that would be deleted:
brew link -n formula_name
$brew rm jpeg
Uninstalling /usr/local/Cellar/jpeg/8d...
$brew install jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mou
Already downloaded: /Library/Caches/Homebrew/jpeg-8d.mountainlion.bottle.tar.gz
==> Pouring jpeg-8d.mountainlion.bottle.tar.gz
Warning: Could not link jpeg. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link jpeg'
==> Summary
/usr/local/Cellar/jpeg/8d: 18 files, 1.3M
$brew install imagemagick
Error: You must `brew link jpeg' before imagemagick can be installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment