# Ok, Uncle on Rmagic

**URL:** <https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699>\
**Category:** Ruby\
**Created:** [March 5, 2007, 10:02am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699 "2007-03-05T10:02:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 5, 2007, 10:02am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/1 "2007-03-05T10:02:51Z")

</div>

I am a total newb in RoR. But this community looks awesome. Am really  
looking forward to learning Ruby and its elements.

Having said that, the following is a really crummy problem. Am running  
Fedora Core 6. Ruby installed fine. Gem appears to have installed as  
well. Went to install the Ruby Asset manager and the following…

configure: error: Can’t install RMagick. Can’t find libMagick or one of  
the dependent libraries.  
Check the config.log file for more detailed  
information.

I searched and know this is a known issue. I’ve mucked around trying to  
figure out how to get past the problem. The libMagick .so files are  
located in /usr/local/lib. I yum’d the ImageMagick-devel installation  
as was recommended. And a few other things. And continue to get the  
same error.

Help? I know this is a really simple problem, but am fresh into Ruby on  
Rails and felt I should ask. I will learn more and more as I get into,  
but am asking for help on this.

tia

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 5, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/2 "2007-03-05T14:19:08Z")

</div>

David H. wrote:

> I am a total newb in RoR. But this community looks awesome. Am really  
> looking forward to learning Ruby and its elements.
> 
> Having said that, the following is a really crummy problem. Am running  
> Fedora Core 6. Ruby installed fine. Gem appears to have installed as  
> well. Went to install the Ruby Asset manager and the following…
> 
> configure: error: Can’t install RMagick. Can’t find libMagick or one of  
> the dependent libraries.  
> Check the config.log file for more detailed  
> information.
> 
> I searched and know this is a known issue. I’ve mucked around trying to  
> figure out how to get past the problem. The libMagick .so files are  
> located in /usr/local/lib. I yum’d the ImageMagick-devel installation  
> as was recommended. And a few other things. And continue to get the  
> same error.
> 
> Help? I know this is a really simple problem, but am fresh into Ruby on  
> Rails and felt I should ask. I will learn more and more as I get into,  
> but am asking for help on this.
> 
> tia  
> Check this out: [http://rmagick.rubyforge.org/install-faq.html#libmagick](http://rmagick.rubyforge.org/install-faq.html#libmagick).  
> If that doesn’t help. email rmagick AT rubyforge DOT org.

The Installing RMagick on Linux HOWTO is here:  
http:/rmagick.rubyforge.org/install-linux.html.

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 6, 2007, 5:25am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/3 "2007-03-06T05:25:40Z")

</div>

On Mar 5, 6:09 pm, David H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thank you for this response. I will study the URL and see if I can  
> break this logjam. Am anxious to get under the hood and learn.

If your main goal is to learn Ruby/Ruby on Rails, then I might suggest  
doing so with an application that doesn’t require rmagick. Even after  
working with Ruby for a couple of years on various systems, I still  
occasionally curse at my computer when I have to do an rmagick  
installation. I’d recommend picking up a copy of “Agile Web  
Development with Ruby on Rails” and “Programming Ruby”. Those two  
books should give you a good start, and you can worry about things  
like rmagick after you’ve decided that you want to stick with Ruby.

I would hate to see your frustration with a package that you may not  
even need end up turning you off to the language all together.

–  
Regards,

John W.

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 6, 2007, 3:09am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/4 "2007-03-06T03:09:07Z")

</div>

Thank you for this response. I will study the URL and see if I can  
break this logjam. Am anxious to get under the hood and learn.

drh

Tim H. wrote:

> David H. wrote:
> 
> > I am a total newb in RoR. But this community looks awesome. Am really  
> > looking forward to learning Ruby and its elements.
> > 
> > Having said that, the following is a really crummy problem. Am running  
> > Fedora Core 6. Ruby installed fine. Gem appears to have installed as  
> > well. Went to install the Ruby Asset manager and the following…
> > 
> > configure: error: Can’t install RMagick. Can’t find libMagick or one of  
> > the dependent libraries.  
> > Check the config.log file for more detailed  
> > information.
> > 
> > I searched and know this is a known issue. I’ve mucked around trying to  
> > figure out how to get past the problem. The libMagick .so files are  
> > located in /usr/local/lib. I yum’d the ImageMagick-devel installation  
> > as was recommended. And a few other things. And continue to get the  
> > same error.
> > 
> > Help? I know this is a really simple problem, but am fresh into Ruby on  
> > Rails and felt I should ask. I will learn more and more as I get into,  
> > but am asking for help on this.
> > 
> > tia  
> > Check this out: [http://rmagick.rubyforge.org/install-faq.html#libmagick](http://rmagick.rubyforge.org/install-faq.html#libmagick).  
> > If that doesn’t help. email rmagick AT rubyforge DOT org.
> 
> The Installing RMagick on Linux HOWTO is here:  
> http:/rmagick.rubyforge.org/install-linux.html.

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 6, 2007, 5:35am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/5 "2007-03-06T05:35:40Z")

</div>

David H. wrote:

> information.  
> I don’t know the specifics of how you need to use RMagick, but if it’s  
> fairly simple you can try just shelling out to imagemagick. In my case,  
> I only needed to resize an image, so I just used backtick to call the  
> imagemagick convert command:

`convert -resize 480x360 #{temp_file_path} #{file_path}`

As long as imagemagick has been installed (fairly common on Linux), it  
works fine. Switching to RMagick as been on my list, but it’s way down  
on the list 🙂

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 6, 2007, 9:21am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/6 "2007-03-06T09:21:56Z")

</div>

Was interested in looking at the asset manager which requires RMagick.  
Will fuss with the dependency problem in the morning. Was just quite  
interested to see what the current Ruby Asset Manager did, and was it  
far enough along to bolt on some additional apps.

Tx a mil for the response.

Brian A. wrote:

> David H. wrote:
> 
> > information.  
> > I don’t know the specifics of how you need to use RMagick, but if it’s  
> > fairly simple you can try just shelling out to imagemagick. In my case,  
> > I only needed to resize an image, so I just used backtick to call the  
> > imagemagick convert command:
> 
> `convert -resize 480x360 #{temp_file_path} #{file_path}`
> 
> As long as imagemagick has been installed (fairly common on Linux), it  
> works fine. Switching to RMagick as been on my list, but it’s way down  
> on the list 🙂

---

<div class="post-metadata">

**Author:** ![divotdave](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/bbe5ce/32.png) [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Post date:** [March 6, 2007, 9:20am UTC](https://www.ruby-forum.com/t/ok-uncle-on-rmagic/87699/7 "2007-03-06T09:20:10Z")

</div>

This is of course saged advice. I am not so easily discouraged by yet  
another dependency that complains… but agree that working through some  
books and tasks to see if it for me is the smart thing.

John W. wrote:

> On Mar 5, 6:09 pm, David H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Thank you for this response. I will study the URL and see if I can  
> > break this logjam. Am anxious to get under the hood and learn.
> 
> If your main goal is to learn Ruby/Ruby on Rails, then I might suggest  
> doing so with an application that doesn’t require rmagick. Even after  
> working with Ruby for a couple of years on various systems, I still  
> occasionally curse at my computer when I have to do an rmagick  
> installation. I’d recommend picking up a copy of “Agile Web  
> Development with Ruby on Rails” and “Programming Ruby”. Those two  
> books should give you a good start, and you can worry about things  
> like rmagick after you’ve decided that you want to stick with Ruby.
> 
> I would hate to see your frustration with a package that you may not  
> even need end up turning you off to the language all together.
> 
> –  
> Regards,
> 
> John W.
