Sorry to spam a personal help message, but I’m tearing my hair out here.
I’ve previously done all my development with webbrick and deployed on
TextDrive where all the hard work was pretty much done for me. Today,
however, I need to deploy on one of our servers.
I’ve got Apache2 and SCGI installed, finally, and the app is running.
It correctly serves up content from the controllers. The problem is
that requests for the static files (/images/, /stylesheets/, etc)
aren’t working. If I try to go to http://127.0.0.1/stylesheets/ I get
Recognition failed for “/stylesheets/”
Again, this works fine under webbrick, so I would think it is an Apache
config problem. However, the error message itself looks like its coming
from the Rails router, implying a problem with my routes config. Is
there something I need to tell SCGI, Rails, or Apache to help find my
public folder? (I set the document root in the Apache http.conf)
Any advice? I appreciate it.