Page_attachments & TextDrive with lighttpd anyone?

Just checking to see if anyone is using page_attachments successfully on
a
TextDrive account running lighttpd. I’m using such a setup as my test
server and get an application error whenever I try to attach files. My
production box is on another host running mongrel and everything works
beautifully, however.

Anyone else get it running on TextDrive? Did you run in to any
textdrive-specific issues I should check out to get my test site running
again? Thanks!


-Grant B.
[email protected]
http://grantblakeman.com

When I was running a pre 0.6 version on TextDrive, I had to specify
RMagick as the processor because ImageScience was broken. Try this
from a shell:

$ irb

require ‘rubygems’
=> true

require ‘image_science’

If at that point, you get an error and stack trace, it is incorrectly
configured on your server. Until they fix it, you can edit
vendor/extensions/page_attachments/app/models/page_attachment.rb and
add this option to the has_attachment line:

:processor => :rmagick

You may want to add that line even if you don’t get an error on
ImageScience. Let me know if that works for you.

Sean

You should think about MiniMagick, as well. RMagick hits the memory
limit pretty fast on TextDrive. I have not had much luck with it
there. You can install MiniMagick as a gem or plugin in your vendor
folder, then just specify the processor as mini_magick. I have a site
on Textdrive using page_attachments and MiniMagick. It runs fine.

Keith B.
Tel: +49-7731-79838380
[email protected]
http://keithbingman.com

Thanks guys, Keith, I’ll give MiniMagick a try. It didn’t even dawn on
me
that it might be the image processor giving me the error.

-gb

On 6/17/07, Sean C. [email protected] wrote:

on Textdrive using page_attachments and MiniMagick. It runs fine.

configured on your server. Until they fix it, you can edit
On 6/17/07, Grant B. [email protected] wrote:

textdrive-specific issues I should check out to get my test site
Search: http://radiantcms.org/mailing-list/search/
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


-Grant B.
[email protected]
http://grantblakeman.com

Good to know, Keith! :smiley:

Sean

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs