[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problems with RMagic under Windows

Victor Reyes

1/19/2008 8:50:00 PM

[Note: parts of this message were removed to make it a legal post.]

Team,

I just installed RMagic under Windows to learn it. The installation went OK:

C:\$user\downloads\ruby\RMagick-2.0.0-ImageMagick-6.3.7-8-Q8>gem install
rmagic
Successfully installed rmagick-2.0.0-mswin32
1 gem installed

I then proceeded to write a one line ruby pgm to test if I could invoke it.
The only line in the pgm is: *require 'RMagic'*
When I try to run it I get the following error:

*C:\$user\ruby\Programs\DejaVou>ruby magia01.rb
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- RMagic (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from magia01.rb:1*

C:\$user\downloads\ruby\RMagick-2.0.0-ImageMagick-6.3.7-8-Q8>gem -v
0.9.5

C:\$user\downloads\ruby\RMagick-2.0.0-ImageMagick-6.3.7-8-Q8>ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]

Any help will be appreciated.

Thank you

Victor

2 Answers

Tim Hunter

1/19/2008 9:44:00 PM

0

Victor Reyes wrote:
> The only line in the pgm is: *require 'RMagic'*

require "RMagick"

--
RMagick: http://rmagick.ruby...
RMagick 2: http://rmagick.ruby...rmagick2.html

Victor Reyes

1/19/2008 11:07:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

That was it.
Sorry for the silliness of my question.

Thank you for your help.

On Jan 19, 2008 4:44 PM, Tim Hunter <TimHunter@nc.rr.com> wrote:

> Victor Reyes wrote:
> > The only line in the pgm is: *require 'RMagic'*
>
> require "RMagick"
>
> --
> RMagick: http://rmagick.ruby...
> RMagick 2: http://rmagick.ruby...rmagick2.html
>
>