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