This post originated from an RSS feed registered with Ruby Buzz
by Ryan Davis.
Original Post: image_science and deployment
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
We just poked around to get IS deployed on an apache/fcgi setup. Two things go wrong in the usual configuration.
apache is running the process but HOME wasn't set so we had to set INLINEDIR.
INLINEDIR was initally set to /home/limespot but apache can't write to that dir.
In order to fix that, we set INLINEDIR to /home/limespot/inline and made that dir owned by apache:apache.
Oddly, we got another error after that, as ld wasn't found. I think the error message was wrong. cc shouldn't be runnable if ld isn't runnable. We fixed that by setting up a minimal PATH.