install rmagick in win32,but no work

Y

yang jdong

i use instantRails 1.0 on winxp.download
'RMagick-1.9.2-IM-6.2.4-6-win32.zip' from www
after install,i write code in irb:
require 'RMagick'

it shows follow errors:
no such file to load -- RMagick.

why?
 
J

Jim Weirich

yang said:
C:\Documents and Settings\yang>irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'RMagick'
=> false

Require returning 'false' does not mean that it has failed. It just
means that the library has been already loaded. If the RMagick gem does
an autorequire on the RMagick file, then that file will be loaded during
the activation of the RMagick gem, meaning that by the time your require
finishes, the file is indeed loaded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top