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

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 !

···

--
Posted via http://www.ruby-forum.com/\.

Try:

require "rubygems"
require "RMagick"

Cheers,

Serabe

···

--

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

···

--
Posted via http://www.ruby-forum.com/\.