[Locomotive-users] Installing RMagick
Geoff Dougherty
geoff at geoffdougherty.com
Wed Jul 12 00:57:50 GMT 2006
Ah, I overlooked the info pane. Have that fixed.
Do I need to require RMagick, and if so where does the 'require'
statement go?
On Jul 11, 2006, at 7:44 PM, Ryan Raaum wrote:
> Hi,
>
> Have you selected the new bundle in your app's Info pane in
> Locomotive? If you've done that, are you requiring RMagick?
>
> Best,
>
> -r
>
> On 7/11/06, Geoff Dougherty <geoff at geoffdougherty.com> wrote:
> I've downloaded the RMagick bundle and put it in my "Bundles" folder
> and restarted Locomotive.
>
> Is there anything else I need to do to get RMagick working?
>
> I'm running the following code from within a RoR model, and getting
> an error: "uninitialized constant RMagick"
>
> def picture=(picture_field)
> self.name = base_part_of(picture_field.original_filename)
> self.content_type = picture_field.content_type.chomp
> self.data = picture_field.read
> img = RMagick::Image::read(self.data)
>
> Thanks much.
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
>
>
> --
> Ryan Raaum
> http://www.anthro.ufl.edu - Molecular Anthropology, University of
> Florida
> http://locomotive.raaum.org -- Self contained one-click Rails for
> Mac OS X
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060712/19490682/attachment-0001.htm
More information about the Locomotive-users
mailing list