Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

minimagick

Carrierwave, MiniMagick – NoMethodError: undefined method `size’ for nil:NilClass

December 2, 2023 by Tarik

Had forgotten to install imagemagick on my new server. This solved the issue for me sudo apt-get install imagemagick

Categories ruby-on-rails Tags carrierwave, minimagick, ruby, ruby-on-rails, ruby-on-rails-3 Leave a comment

ERROR Original Error: ImageMagick/GraphicsMagick is not installed

November 21, 2023 by Tarik

You need to install libmagickwand-dev in order to successfully complete the rmagick gem. Following command will do the job for you: sudo apt-get install libmagickwand-dev On a Mac, you would run the following command: brew install imagemagick # it requires you to install Homebrew first.

Categories ruby-on-rails Tags minimagick, mongoid, ruby-on-rails Leave a comment

cache resources exhausted Imagemagick

July 7, 2023 by Tarik

Find the policy.xml with find / -name “policy.xml” something like /etc/ImageMagick-6/policy.xml and change <policy domain=”resource” name=”disk” value=”1GiB”/> to <policy domain=”resource” name=”disk” value=”8GiB”/> refer to convert fails due to resource limits Memory issues

Categories ruby-on-rails Tags imagemagick, linux, memory, minimagick, ruby-on-rails Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa