ces.fci.junk / gmail.com wrote: > Trying to run the histogram.rb ~/$myimage produces the following error: > > Creating b194000514_7064_Histogram.miffhistogram.rb:180:in `histogram': > undefined method `+' for nil:NilClass (NoMethodError) > from histogram.rb:179:in `each' > from histogram.rb:179:in `histogram' > from histogram.rb:177:in `times' > from histogram.rb:177:in `histogram' > from histogram.rb:280 Hmmm...I get it, too. I should I say I "got" it, because after I started investigating the problem I started getting other very odd errors and then it started working. Now I can't make it happen anymore. These are classic symptoms of a wild pointer either in RMagick or ImageMagick. I'll poke around a little bit more. Whatever the problem is, it can't be fixed by changing the script. Thanks for pointing this out.