我正在尝试运行我的 RSpec 测试,但在运行回形针测试时我不断收到此错误:
identify: no decode delegate for this image format `0x000001034f6718>' @ error/constitute.c/ReadImage/532.
我正在使用 Rails 3.2,最新版本的 ImageMagick 和 jpeg 库已安装...
最佳答案
你需要在系统中安装libjpeg、libpng库。您可以通过在 Ubuntu 软件中心应用程序中搜索“jibjpeg”来做到这一点。
然后安装imagemagik from source
关于ruby-on-rails - RSpec + 回形针 : identify: no decode delegate for this image format,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9144402/