Forum: Ruby RMagick error: " no such file to load -- RMagick"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5aaa92336b530d04b32d1aa5da4280ee?d=identicon&s=25 Held Opslippers (heldopslippers)
on 2009-03-23 01:09
Hee people (again today :P) ...

So I want to use RMagick but it doesn't work ...
I installed it as told in the FAQ of the site of RMagick
(http://rmagick.rubyforge.org/install-faq.html)

1) sudo port install tiff -macosx imagemagick +q8 +gs +wmf
2) sudo gem install rmagick

I didn't get any problems or warning !....

so when I try to run my verry complicated program:

require 'RMagick'

I get the following error: no such file to load -- RMagick

So I googled (of course)... but spelling it different doesn't help. I
tried:
Rmagick
rMagick
RMagick
rmagick

And when I do in the console:
$ irb
>> require 'rmagick'
=> true
>>

This seams to work ! .. (so it is installed)

There are a lot of people with these problems on the net.. but they
didn't give me a solution
thanxs !
7b8e1744137ecbad51b24ab2d169779b?d=identicon&s=25 Serabe (Guest)
on 2009-03-23 01:14
(Received via mailing list)
Try:

require "rubygems"
require "RMagick"

Cheers,

Serabe
5aaa92336b530d04b32d1aa5da4280ee?d=identicon&s=25 Held Opslippers (heldopslippers)
on 2009-03-23 01:26
Serabe wrote:
> Try:
>
> require "rubygems"
> require "RMagick"
>
> Cheers,
>
> Serabe

PFF !...
I have been programming ruby/rails for over a year now ...
stupid that i didn't thought of that !

thanxs mate
This topic is locked and can not be replied to.