Hi,
I had to reinstall RMagick on my windows box. I am using cygwin and
installed ImageMagick 6.2.6 from binary and then rmagick 1.10.1
from the gem install.
Then I run irb > require 'RMagick' and boom no errors nothing on the
cmd
line just a big crash...
Anyone seen this before ? Any help would be appreciated...
···
--
Posted via http://www.ruby-forum.com/.
De Railed wrote:
Hi,
I had to reinstall RMagick on my windows box. I am using cygwin and
installed ImageMagick 6.2.6 from binary and then rmagick 1.10.1
from the gem install.
Then I run irb > require 'RMagick' and boom no errors nothing on the cmd
line just a big crash...
Anyone seen this before ? Any help would be appreciated...
When you say "the gem install" do you mean the "rmagick" gem or the "rmagick-win32" gem? The rmagick gem is for Cygwin, the rmagick-win32 gem for native MS Windows.
Can you use the ImageMagick commands like 'convert' and 'identify'? Try:
identify myjpg.jpg
convert myjpg.jpg mygif.gif
Did the RMagick examples run correctly when you installed RMagick?
Hi Tim,
Thanks for the reply.
I ran a gem install rmagick from my cygwin prompt.
All looked cool and it say rmagick was installed successfully. gem list
shows it
and RMagick.so is in the ruby i386 dir. From the same shell I can run
display
and ImageMagick comes up. Similarly identify xxx.gif works.
Any other clues ? Does irb dumps it's crash logs somewhere ?
Thanks you !!
···
--
Posted via http://www.ruby-forum.com/.
De Railed wrote:
Hi Tim,
Thanks for the reply.
I ran a gem install rmagick from my cygwin prompt.
All looked cool and it say rmagick was installed successfully. gem list shows it
and RMagick.so is in the ruby i386 dir. From the same shell I can run display
and ImageMagick comes up. Similarly identify xxx.gif works.
Any other clues ? Does irb dumps it's crash logs somewhere ?
Thanks you !!
If you can run a ruby script that uses RMagick then I can't think of any reason why irb would crash unless there's something wrong with irb itself. Is it possible that you've got something in your .irbrc file that's conflicting with RMagick?
P.S. I'm glad to hear that RMagick installs well on Cygwin. I don't have access to a box with Cygwin so I can't test it there.
Hi,
I ran a gem install rmagick from my cygwin prompt.
Did it run all the example files in /doc/ex ? As Tim says, if it does that
well, you are far along already.
You might also try building a static version of RMagick.so once, just to
see if you are in dll hell.
best greetings,
kaspar
···
--
software manufaktur - rubylab.newfoundedpower.com
Hi Tim,
Sorry I've misread your initial response. I can not run the sample
rmagick
scripts such as identify.rb. The script returns right away with no
errors. Just
like irb. If I run > ruby -x identify.rb, I get the following message..
ruby: no Ruby script found in input (LoadError)
I thought you meant if I could run ImageMagick's identify...
···
--
Posted via http://www.ruby-forum.com/.
De Railed wrote:
Hi Tim,
Sorry I've misread your initial response. I can not run the sample rmagick
scripts such as identify.rb. The script returns right away with no errors. Just
like irb. If I run > ruby -x identify.rb, I get the following message..
ruby: no Ruby script found in input (LoadError)
I thought you meant if I could run ImageMagick's identify...
No, you were right the first time, I meant ImageMagick's identify command.
The "no Ruby script found in input" message isn't from RMagick or ImageMagick. I suppose it's a Ruby message but I'm not sure what it means.
I'm still at a loss. The RMagick install process runs about 175 examples as part of building the documentation. If those examples all ran during the "gem install" then I can't think of any reason why you can't use RMagick now.
Hi Tim,
Yes I am stuck.I have tried to reinstall either GraphicMagick or
ImageMagick
and still ending up with the same results. I have struggled with this
before
but somehow found the magic incantation. But now I can't see what I am
missing
The fact that ruby is crashing leads me to believe that a lib is
either not
there or is wrong for cygwin. The question then is which one ?
I'll keep on grinding and hopefully will figure some solution. I'll
sure would
ate going back to my windows install...
···
--
Posted via http://www.ruby-forum.com/.