Problems with RMagic under Windows

Discussion in 'Ruby' started by Victor Reyes, Jan 19, 2008.

  1. Victor Reyes

    Victor Reyes Guest

    [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
     
    Victor Reyes, Jan 19, 2008
    #1
    1. Advertising

  2. Victor Reyes

    Tim Hunter Guest

    Tim Hunter, Jan 19, 2008
    #2
    1. Advertising

  3. Victor Reyes

    Victor Reyes Guest

    [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 <> 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
    >
    >
     
    Victor Reyes, Jan 19, 2008
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Richard Kilmer
    Replies:
    8
    Views:
    156
    Kaspar Schiess
    Apr 19, 2004
  2. Paul

    rmagic windows binary ??

    Paul, Nov 8, 2004, in forum: Ruby
    Replies:
    7
    Views:
    172
  3. Paul

    gem and rmagic confusion

    Paul, Nov 29, 2004, in forum: Ruby
    Replies:
    2
    Views:
    163
    Kaspar Schiess
    Nov 29, 2004
  4. yang jdong

    how to use rmagic in intrantrails

    yang jdong, Jan 17, 2006, in forum: Ruby
    Replies:
    3
    Views:
    105
  5. Replies:
    0
    Views:
    115
Loading...

Share This Page