uninitialized constant MiniMagic (NameError)


Mini-Magick breaking. I have installed mini-magick gem.

Here is my sample program

require 'rubygems' gem 'mini_magick' include minimagick image = MiniMagick::Image.from_file('./fun.jpg') image.resize "100x100" image.write('./funthumb.jpg')

Output: test.rb:3: undefined local variable or method `minimagick' for main:Object (Name Error)

Anyone can help this out?

Thanks in Advance!!!

Hi --


I'm still getting the same error..

uninitialized constant MiniMagick (NameError)

Can someone help on this.

Thanks in Advance.

Cheers, Pradeep.