R
Roeland Moors
I have a simple but wierd problem.
this is my simple program:
require 'RMagick'
img = Magick::ImageList.new("dsc01748.jpg")
dsc01748.jpg is an image in the current path.
After running it, this is the error:
#ruby ./test.rb
/usr/lib/ruby/1.8/RMagick.rb:1377:in `read': unable to open image `1748.jpg': No such file or directory: (Magick::ImageMagickError)
from /usr/lib/ruby/1.8/RMagick.rb:1377:in `initialize'
from /usr/lib/ruby/1.8/RMagick.rb:1376:in `each'
from /usr/lib/ruby/1.8/RMagick.rb:1376:in `initialize'
from ./test.rb:3:in `new'
from ./test.rb:3
This used to work just fine, I also tested an older version of rmagick.
Is there something changed in ruby?
I can't figure it out, what am I missing?
this is my simple program:
require 'RMagick'
img = Magick::ImageList.new("dsc01748.jpg")
dsc01748.jpg is an image in the current path.
After running it, this is the error:
#ruby ./test.rb
/usr/lib/ruby/1.8/RMagick.rb:1377:in `read': unable to open image `1748.jpg': No such file or directory: (Magick::ImageMagickError)
from /usr/lib/ruby/1.8/RMagick.rb:1377:in `initialize'
from /usr/lib/ruby/1.8/RMagick.rb:1376:in `each'
from /usr/lib/ruby/1.8/RMagick.rb:1376:in `initialize'
from ./test.rb:3:in `new'
from ./test.rb:3
This used to work just fine, I also tested an older version of rmagick.
Is there something changed in ruby?
I can't figure it out, what am I missing?