I’m having problems with rmagick: It works but is looking in the wrong
directory.
My environment has the following lines:
- require ‘rubygems’
- require ‘RMagick’
- include Magick
My controller has the following:
- imagemagick_for ‘/data/pictures/’
- #my pics are in newspipe/data/pictures, where newspipe is my app
And in my view i use image_magick with
- <%= imagemagick_tag “pic32.jpg”, ‘resize(100x100)’ %>
But the generated html has this for the above line:
Can anyone see what i’m doing wrong (or neglecting to do)?
thanks
max