Comments (26)
@Gregory80 Hmm... looks like you have the most recent version of RMagick (2.13.1). Perhaps it needs to rebuilt against the version fo imagemagick you have installed now... does a "gem pristine rmagick" help?
from lolcommits.
In an effort to help future googlers, here are the steps I had to take to get this fixed:
brew uninstall imagemagick
brew install imagemagick
gem pristine rmagick
from lolcommits.
yup, that did it
from lolcommits.
+1
gem pristine rmagick
fixed it
from lolcommits.
Are you by any chance using ZSH? I found a reference to a similar problem here:
http://constant.co.za/2011/07/getting-imagemagick-to-work-with-lion-and-zsh/
from lolcommits.
Also, please try uninstalling and installing the new version (instructions in README), that seems to be helping some people.
from lolcommits.
I get this error as well. Though, I got this from the old version, which is why I updated.
I get this error when I run lolcommits --enable
Previously, I had been able to use git hook --install w/o error. but the actual capturing would trigger this same exact error. I am using bash. OSX 10.6.8
Update:
Okay, so I dug around on my error. And re-installing imagemagick didn't fix it. Specifically, it looks like ruby it throwing a library mismatch error. Ruby is looking for /usr/local/lib/libMagickCore.4.dylib
But, imagemagick via brew install imagemagick installed a newer version: libMagickCore.5.dylib I think I need to somehow tell ruby to use this newer library, but I know very little about gem package management.
dir listing:
aesop ~/Documents/projects/javascript/doMint.js:(master)$ ls /usr/local/lib/libMagick
libMagickCore.5.dylib libMagickCore.la libMagickWand.dylib
libMagickCore.dylib libMagickWand.5.dylib libMagickWand.la
Here is the complete message:
aesop ~/Documents/projects/javascript/doMint.js:(master)$ lolcommits --enable
/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libMagickCore.4.dylib (LoadError)
Referenced from: /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle
Reason: image not found - /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:11
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Library/Ruby/Gems/1.8/gems/lolcommits-0.0.2/lib/lolcommits.rb:5
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Library/Ruby/Gems/1.8/gems/lolcommits-0.0.2/bin/lolcommits:7
from /usr/bin/lolcommits:19:in `load'
from /usr/bin/lolcommits:19
17:44:44
from lolcommits.
Looks like that does it then. @jpsilvashy try that, and re-open this issue if that doesn't fix it.
from lolcommits.
OMG, thank you. "gem pristine rmagick" helped!
from lolcommits.
Well, the same mistake:
$ rails s
/Users/denis/code/questick/vendor/bundle/gems/rmagick-2.13.1/lib/rmagick.rb:11:in `require': dlopen(/Users/denis/code/questick/vendor/bundle/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /usr/local/lib/libMagickCore.4.dylib (LoadError)
Referenced from: /Users/denis/code/questick/vendor/bundle/gems/rmagick-2.13.1/lib/RMagick2.bundle
Reason: image not found - /Users/denis/code/questick/vendor/bundle/gems/rmagick-2.13.1/lib/RMagick2.bundle
from /Users/denis/code/questick/vendor/bundle/gems/rmagick-2.13.1/lib/rmagick.rb:11:in `<top (required)>'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
from /Users/denis/.rbenv/versions/1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
from /Users/denis/code/questick/config/application.rb:7:in `<top (required)>'
from /Users/denis/code/questick/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb:53:in `require'
from /Users/denis/code/questick/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb:53:in `block in <top (required)>'
from /Users/denis/code/questick/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
from /Users/denis/code/questick/vendor/bundle/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
while using Mac OS X Lion 10.7.4 + brew + zsh + rbenv + bundler. But the unusual thing is that all works good untill i use bundled gem.
What is the solution?
from lolcommits.
+1
gem pristine rmagick
from lolcommits.
gem pristine rmagick
GENIUS
from lolcommits.
Any idea how to fix this for Jmagick?
Matt
from lolcommits.
Rats... gem pristine rmagick
is not working for me.
I am still getting:
Referenced from: /usr/local/lib/libMagickCore-Q16.7.dylib Reason: Incompatible library version: libMagickCore-Q16.7.dylib requires version 11.0.0 or later, but libltdl.7.dylib provides version 10.0.0 - /Users/prettyinstant/.rvm/gems/ruby-1.9.2-p290/gems/rmagick-2.13.1/lib/RMagick2.bundle
Any ideas how to fix this?
from lolcommits.
@afxjzs what version of lolcommits are you using? the rmagick dependency has been replaces in more recent versions.
from lolcommits.
I've got the same trouble, just don't forget to do a brew update before reinstalling imagemagick
from lolcommits.
I had this same issue. Needed to ln
some things because the new version of Imagemagick has some issues with rmagick compatiblity.
http://stackoverflow.com/questions/13942443/error-installing-rmagick-on-mountain-lion
from lolcommits.
Thank you gem pristine rmagick!
from lolcommits.
Thank you oh mighty gem pristine
!
from lolcommits.
gem pristine rmagick
Thanks for this, I love you
from lolcommits.
@JoshTGreenwood @cpow I'm confused how you are still running a version of lolcommits that relies upon RMagick, we moved off rmagick (precisely because it caused problems like this) well over a year ago. What version of lolcommits do you have installed? You might want to gem update lolcommits
.
from lolcommits.
+1 gem pristine rmagick
from lolcommits.
+1 gem pristine rmagick
from lolcommits.
+1 gem pristine rmagick
from lolcommits.
+1 pristine
from lolcommits.
+1 gem pristine rmagick
from lolcommits.
Related Issues (20)
- --fork results in error with magit (emacs porcelain) HOT 2
- MiniMagick::Error - mogrify: non-conforming drawing primitive definition `path' HOT 10
- Require plugin gems from lolcommits HOT 1
- Consider releasing a 1.0.0 HOT 5
- Works but never exits HOT 17
- lolcommits fails to capture image on linux HOT 9
- Transfer this repository to the lolcommits organisation HOT 8
- Fork app commit process hangs with lolcommits enabled HOT 12
- lolcommits --devices no longer works HOT 2
- macOS 10.15 will not ship with with Ruby
- No video devices found after upgrading to catalina (OSX 10.15) HOT 7
- Linux webcam resolution HOT 4
- Terminates with error "`encode': wrong number of arguments" HOT 8
- Ability to replace the hash with a date
- Commits doesn't trigger snapshot
- lolcommits dosen't skip capture when rebasing HOT 2
- Can we release a new version HOT 4
- Availability of Apple Silicon support (arm64) HOT 1
- v0.16.4 has `undefined method rm_f' for File:Class (NoMethodError)` error
- error while installing lolcommits: :in `superclass': stack level too deep (SystemStackError)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lolcommits.