Eli, This is interesting. I enabled DEBUG logging in Apache and tailed the error.log. Lo and behold, you''re right, its a problem with one of my require statements. Namely: `gem_original_require'': no such file to load -- camping/fastcgi (LoadError) Strange, it works fine when I do it in IRB, or do it from a ruby script at the bash prompt. Apache runs as the same user that I''m currently logged in as, but just as a check, I added the GEM_PATH statement to my /etc/profile Still nothing. I''m going to screw around with it more today, I''ll post if I solve it. Thanks again for the help! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070731/3b0e9c88/attachment.html
I found the Camping development process with FastCGI to be painful and
frustrating. Error messages were vague or nonexistent ("500 Server
Error").
Again, I strongly recommend that you find another solution.
On 7/31/07, Brian Corrigan <bcorrigan78 at gmail.com>
wrote:>
> Eli,
>
> This is interesting. I enabled DEBUG logging in Apache and tailed the
> error.log. Lo and behold, you''re right, its a problem with one of
my
> require statements. Namely:
>
> `gem_original_require'': no such file to load -- camping/fastcgi
> (LoadError)
>
> Strange, it works fine when I do it in IRB, or do it from a ruby script at
> the bash prompt. Apache runs as the same user that I''m currently
logged in
> as, but just as a check, I added the GEM_PATH statement to my /etc/profile
> Still nothing.
>
> I''m going to screw around with it more today, I''ll post
if I solve it.
>
> Thanks again for the help!
>
>
>
> _______________________________________________
> Camping-list mailing list
> Camping-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
--
www.megastructure.org
http://www.last.fm/user/coldphage/
Bubs: Let''s head down to the Datum Center and see what we can find.
Strong Bad: Datum sounds good.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/camping-list/attachments/20070731/e7cf72d8/attachment.html
Hey Folks, Just to close this one out, I fixed my issue. Basically, Apache2 on UBUNTU is running with a limited system environment. (Check the /etc/init.d/apache2 script) I had to add my RUBY, GEM_PATH, GEM_HOME, and PATH environement variables to /etc/apache2/envvars and things worked out ok.. Best, Brian On 7/31/07, Brian Corrigan <bcorrigan78 at gmail.com> wrote:> > Eli, > > This is interesting. I enabled DEBUG logging in Apache and tailed the > error.log. Lo and behold, you''re right, its a problem with one of my > require statements. Namely: > > `gem_original_require'': no such file to load -- camping/fastcgi > (LoadError) > > Strange, it works fine when I do it in IRB, or do it from a ruby script at > the bash prompt. Apache runs as the same user that I''m currently logged in > as, but just as a check, I added the GEM_PATH statement to my /etc/profile > Still nothing. > > I''m going to screw around with it more today, I''ll post if I solve it. > > Thanks again for the help! > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20070731/272d8c71/attachment.html