Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > RMagick error: " no such file to load -- RMagick"

Reply
Thread Tools

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

 
 
jeljer te Wies
Guest
Posts: n/a
 
      03-23-2009
Hee people (again today ) ...

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/.

 
Reply With Quote
 
 
 
 
Serabe
Guest
Posts: n/a
 
      03-23-2009
Try:

require "rubygems"
require "RMagick"

Cheers,

Serabe

--
http://www.serabe.com

 
Reply With Quote
 
 
 
 
jeljer te Wies
Guest
Posts: n/a
 
      03-23-2009
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/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between gem install rmagick and port rb-rmagick Pito Salas Ruby 1 04-24-2009 09:29 PM
Ruby: No such file to load -- ubygems (LoadError) Brian Takita Ruby 7 05-24-2005 07:11 PM
[BUG] RubyGems: "No such file to load -- rubygems/builder" Erik Veenstra Ruby 4 02-04-2005 10:28 PM
Getting error: ..."in 'require': No such file to load -- socket (LoadError) Ruby Ruby Ruby 0 04-22-2004 12:34 PM



Advertisments