On Tue, Dec 13, 2005, Preston Crawford wrote:
> So Robby encouraged me (on my blog) not to give up on Rails. I'm close.
> It's just way too frustrating to get a working environment going. As a
> Java developer (and PHP and ASP) I'm used to stuff just working when it at
> least comes to lightweight application servers. Yeah, I know WEBrick
> works. But I've spent literally 3 days worth of effort trying to get
> Apache+Rails+FastCGI working and I just flat can't get it to work. It's
> ridiculous. I can't even run "ruby dispatch.fcgi" from the command line of
> a Rails app that works great with WEBrick. That gives me a "500 Internal
> Server Error". Ugh. WTH?

Do you have the fastcgi dev kit and fcgi gem installed?

> I'm using CentOS 4.2, Rails 1.0 (as of a few minutes ago) and I'm just
> trying to get it running the same way WEBrick does. In a way, this is more
> proof of concept. If I can't get this working, I can't see how I'd ever,
> in a million years, use this in a production environment. Apparently there
> are wizards out there like Robby and others who can make this happen. I
> can't.

It doesn't take a wizard, just some luck :)

> And no, I can't switch to lighttpd. I need PHP support (this is all on my
> home box, but it's still needed) and don't want to have to recompile PHP
> to get Rails to play nice with my web server.

Back when I was doing php development, it only took me about 15 minutes
to get PHP recompiled.  Is it really such a big deal?  Ultimately it's
your call, but I think it'd be worth the effort.

You could also try proxying lighttpd through apache.  That's how I
deploy most of my apps, it's just fine.

Ben
_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to