On 12/13/05, Preston Crawford <[EMAIL PROTECTED]> 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.

Wow, I just went through this last week, it was perhaps the most
agonizing 7 hours of my programming life. The hosting company did not
help diagnose the problem; I had to solve it.

Our particular problem was platform-specific: There is an edge case
that can cause the "mysql" gem to compile improperly when you upgrade
to ............. um, actually let me just provide you with some links
since I've already blocked out the traumatic memory of this event:

- 
http://66.102.7.104/search?q=cache:oSgPyD7xGeYJ:wiki.rubyonrails.com/rails/revision/MySQL%2520Database%2520access%2520problem%3Frev%3D1+rails+%22Access+denied+for+user+%27%27%40%27localhost%22&hl=en&client=safari

- http://infovore.org/tag/mysql

I had to get the webhost to recompile the mysql gem, it had gone
missing from the system. That did it.

> 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?

Are you monitoring the production log? What is the error you're
getting? Do many google searches on that.

> 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.

I will pay good money for a picture of Robby in a wizard costume.

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

Reply via email to