错误的 JPEG 库 - ruby on Rails - OS X
每当我调用任何具有使用 RMagick 的调用的页面时,我都会收到此错误,但我无法弄清楚我缺少哪个库,或者我需要安装什么来消除此错误。有人有调试建议吗?
Processing SimpleCaptchaController#simple_captcha (for 127.0.0.1 at 2010-01-14 14:24:24) [GET]
Parameters: {"image_style"=>"", "time"=>"1263500664", "simple_captcha_key"=>"13eec13214d2ce84b725d14c5877fcbe13308cf5", "distortion"=>""}
Could not dump header data for exception: not opened for reading
ArgumentError (unknown format: JPG):
/usr/local/lib/ruby/gems/1.8/gems/fiveruns-dash-ruby-0.8.10/lib/fiveruns/dash/instrument.rb:125:in `perform_action_without_rescue'
...
根据以下尝试解决方案的缓存重新安装后,
我收到此错误:
Magick::ImageMagickError (Wrong JPEG library version: library is 62, caller expects 70 `' @ jpeg.c/EmitMessage/232):
I keep getting this error any time i call any page that has a call that uses RMagick, but i can't figure out what library i'm missing, or what i need to install to get rid of this error. Does anyone have debugging suggestions?
Processing SimpleCaptchaController#simple_captcha (for 127.0.0.1 at 2010-01-14 14:24:24) [GET]
Parameters: {"image_style"=>"", "time"=>"1263500664", "simple_captcha_key"=>"13eec13214d2ce84b725d14c5877fcbe13308cf5", "distortion"=>""}
Could not dump header data for exception: not opened for reading
ArgumentError (unknown format: JPG):
/usr/local/lib/ruby/gems/1.8/gems/fiveruns-dash-ruby-0.8.10/lib/fiveruns/dash/instrument.rb:125:in `perform_action_without_rescue'
...
After re-installing based on this cache of the bellow attempted solution
i am getting this error:
Magick::ImageMagickError (Wrong JPEG library version: library is 62, caller expects 70 `' @ jpeg.c/EmitMessage/232):
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我必须:
在 git 上使用此脚本安装图像魔法:
http://github.com/masterkain/ImageMagick -sl
在我能够安装 rmagick 之后:
现在,没有更多问题了。
I had to:
install image magic using this script on git:
http://github.com/masterkain/ImageMagick-sl
after i was able to install rmagick:
now, no more problems.
他们的网站目前已关闭,但当它重新上线时,您应该运行 Solomon White 的安装脚本。
http://onrails.org/articles/ 2009/09/04/rmagick-from-source-on-snow-leopard
Their site is down at the moment, but when it comes back online you should run this install script by Solomon White.
http://onrails.org/articles/2009/09/04/rmagick-from-source-on-snow-leopard