Rails Rmagick gem

rmagick gem has just been installed, but with this error in my console when trying to download:

LoadError (dlopen(/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle, 9): Library not loaded: /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libclparser.dylib Referenced from: /usr/local/lib/libMagickCore.4.dylib Reason: image not found - /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle): app/uploaders/image_uploader.rb:8 

Can anyone help?

Thanks in advance.

+1
ruby-on-rails rmagick
Mar 13 2018-12-12T00:
source share
3 answers

This was happening here, and I fixed it using:

  gem pristine rmagick 

Done !:-)

Source: https://github.com/mroth/lolcommits/issues/9

+8
May 08 '12 at 20:03
source share

Ok i got it now

  • Imagemagick removal (I use homebrew, so I run brew remove imagemagick "
  • Removing rmagick gem ("gem uninstall rmagick")
  • Install rmagick gem again by running "bundle install"

I hope this helps

+4
Apr 09 2018-12-12T00:
source share

This works for me (Ubuntu 12.04, Rails 3.2.12):

 sudo apt-get install imagemagick libmagickwand-dev 

and then:

 bundle 
+2
Mar 20 '13 at 8:04
source share



All Articles