Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Problems with RMagic under Windows

Reply
Thread Tools

Problems with RMagic under Windows

 
 
Victor Reyes
Guest
Posts: n/a
 
      01-19-2008
[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

 
Reply With Quote
 
 
 
 
Tim Hunter
Guest
Posts: n/a
 
      01-19-2008
Victor Reyes wrote:
> The only line in the pgm is: *require 'RMagic'*


require "RMagick"

--
RMagick: http://rmagick.rubyforge.org/
RMagick 2: http://rmagick.rubyforge.org/rmagick2.html

 
Reply With Quote
 
 
 
 
Victor Reyes
Guest
Posts: n/a
 
      01-19-2008
[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 <(E-Mail Removed)> wrote:

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

>
> require "RMagick"
>
> --
> RMagick: http://rmagick.rubyforge.org/
> RMagick 2: http://rmagick.rubyforge.org/rmagick2.html
>
>


 
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
I'm having problems with fonts and RMagic/ImageMagic slan.dizier@gmail.com Ruby 0 10-30-2008 04:55 PM
rmagic dump to string instead of file tsuraan Ruby 2 09-20-2005 01:41 PM
gem and rmagic confusion Paul Ruby 2 11-29-2004 04:10 PM
rmagic windows binary ?? Paul Ruby 7 11-29-2004 02:21 PM
Precompiled RMagic on Win32 (rubyinstaller build) Richard Kilmer Ruby 8 04-19-2004 01:31 PM



Advertisments