Friday, May 11, 2012

An error occured while installing rmagick - Rails 3 Gem(Ubuntu 11.10)

Issue while installing rmagick gem:

An error occured while installing rmagick (2.13.1), and Bundler cannot continue.
Make sure that `gem install rmagick -v '2.13.1'` succeeds before bundling.

Solution would be installing rmagick code library.

Possible solution for this issue would be installing postgresql-server for building a server-side extension or libpq-dev for building a client-side application
$ sudo apt-get install libmagickcore-dev libmagickwand-dev

$ sudo apt-get install libmagickcore-dev libmagickwand-dev


7 comments:

  1. Thanks You, it really worked!

    ReplyDelete
  2. GREAT! this is the solution!
    Thanks alot!

    ReplyDelete
  3. Worked for me also, thanks!

    ReplyDelete
  4. For centos just install ImageMagick-devel

    ReplyDelete
  5. `sudo apt-get libmagickwand-dev`
    this should be enough.

    ReplyDelete