Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4568980
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:09:13+00:00 2026-05-21T19:09:13+00:00

I’m working on a Rail3 app. After struggling for several hours and finally installing

  • 0

I’m working on a Rail3 app.
After struggling for several hours and finally installing the rmagick 2.13.1 gem without errors on win7x64 / ruby 1.9.2, I’ve run into another error. Yeah, I’ve heard that rails experience in windows could be painfull…

I use carrierwave to process and upload images to AWS S3.
Processing looks like

class IconUploader < CarrierWave::Uploader::Base

require 'rmagick'
include CarrierWave::RMagick
... 
process :resize_to_fit => [100, 100]
process :convert => :png
...

When I trigger file upload on my development machine, it throws me a windows popup, saying

CORE_RL_magick_.dll not found

Google wasn’t really helpful on this one.

I have my PATH variable set to C:/ruby192/ImageMagick – its where I have installed ImageMagick to. And this folder has several CORE_RL dlls including the magick one. The DLL’s themselves are not missing!

irb > require 'rmagick' returns true
and convert -version outputs this:

Version: ImageMagick 6.6.9-6 2011-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

So I have several question.

  1. How do I solve this?
  2. elseif I don’t, are there any other gems and/or graphic libraries that are supported by both windows and heroku?
  3. else maybe there is a way to configure carrierwave, not to process images in dev environment

So far I’ve tried ImageMagick v 6.6.9 32bit dll, which gives the CORE_RL dll error,
64 bit static, which doesn’t have dev headers to compile the rmagick gem,
and 64 bit dynamic, which gives me tonns of undefined reference errors during the gem compilation, every test, except the first one:

checking for snprintf() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... yes
checking for AcquireImage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,stdint.h,sys/types.h,wand/MagickWand.h... no
and so on...

Thanks everyone.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:09:14+00:00Added an answer on May 21, 2026 at 7:09 pm

    I’ve finally managed to install ImageMagick and build the RMagick gem and make it all work. Hooray.

    It seems like the problem was in the DLL itself. When I tried to registed it, windows gave me a nice error about a problem with the dll.

    So my way of solving all the issues is:

    1. Go here

    2. Download ImageMagick 6.6.1-10 32bit dynamic or any other version except the currently latest release 6.6.9, which has some DLL issues

    3. Install it with options: Add to PATH and development headers. Installation path should not contain spaces.
      After the installation it should give you a message box about succesful dll registration.

    4. In the command line type convert -version to check if everything works. It should print something like:

      Version: ImageMagick 6.6.1-10 2010-05-15 Q16 http://www.imagemagick.org
      Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
      Features: OpenMP

    5. Install the DevKit if you haven’t already.

    6. Install the rmagick gem: gem install rmagick --platform=ruby -- --with-opt-lib=c:/ruby192/ImageMagick/lib --with-opt-include=c:/ruby192/ImageMagick/include

    It should print

    Temporarily enhancing PATH to include DevKit...
    Building native extensions.  This could take a while...
    

    And after a few minutes if everything goes right, you should see

    Successfully installed rmagick-2.13.1
    1 gem installed
    Installing ri documentation for rmagick-2.13.1...
    Installing RDoc documentation for rmagick-2.13.1...
    

    And that’s it. Hope this saves somebody from wasting several hours in frustration.

    Just two more links that were helpful: 1 and 2 if you still can’t install

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.