Hi,<br><br>Have you selected the new bundle in your app's Info pane in Locomotive? If you've done that, are you requiring RMagick?<br><br>Best,<br><br>-r<br><br><div><span class="gmail_quote">On 7/11/06, <b class="gmail_sendername">
Geoff Dougherty</b> <<a href="mailto:geoff@geoffdougherty.com">geoff@geoffdougherty.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I've downloaded the RMagick bundle and put it in my "Bundles" folder<br>and restarted Locomotive.<br><br>Is there anything else I need to do to get RMagick working?<br><br>I'm running the following code from within a RoR model, and getting
<br>an error: "uninitialized constant RMagick"<br><br> def picture=(picture_field)<br> <a href="http://self.name">self.name</a> = base_part_of(picture_field.original_filename)<br> self.content_type = picture_field.content_type.chomp
<br> self.data = picture_field.read<br> img = RMagick::Image::read(self.data)<br><br>Thanks much.<br>_______________________________________________<br>Locomotive-users mailing list<br><a href="mailto:Locomotive-users@lists.raaum.org">
Locomotive-users@lists.raaum.org</a><br><a href="http://lists.raaum.org/mailman/listinfo/locomotive-users">http://lists.raaum.org/mailman/listinfo/locomotive-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>
Ryan Raaum<br><a href="http://www.anthro.ufl.edu">http://www.anthro.ufl.edu</a> - Molecular Anthropology, University of Florida<br><a href="http://locomotive.raaum.org">http://locomotive.raaum.org</a> -- Self contained one-click Rails for Mac OS X