Forum: Rails deployment FreeBSD 5.4 ROR 1.2.3 Premature end of script headers

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
F3ff4392129a9e7b3d1a7425cfcf8390?d=identicon&s=25 Luke Cowell (lukec)
on 2007-05-29 01:00
Hi Ruby on Rails experts, I have been trying to get Ruby on Rails
running on my FreeBSD server to no avail.

I've overcome a few technical issues, but I'm stumped again.

Here's an excerpt from my vhost.conf

LoadModule env_module modules/

   SetEnv RAILS_ENV development
   DocumentRoot /domainpath/httpdocs/bluke2/public/
   ErrorLog /domainpath/httpdocs/bluke2/log/apache.log

   <Directory /domainpath/httpdocs/bluke2/public/>
      Options ExecCGI FollowSymLinks
      AddHandler cgi-script .cgi
      AllowOverride all
      Order allow,deny
      Allow from all

When I try to load my web page, I get an application error and the
following in my log file:
[Mon May 28 15:47:38 2007] [error] [client] Premature end of
script headers: dispatch.cgi

So, I check the dispatch.cgi file:

# ruby -d public/dispatch.cgi
Exception `NameError' at ./public/../config/boot.rb:14 - uninitialized
constant Rails
Exception `MissingSourceFile' at
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27 - no
such file to load -- utf8proc_native

So, I check to see if the module is installed in gem.
# gem list --local | grep -i utf8proc
utf8proc (1.0.3)

Yup, and I ever reissued the gem install command for it.

I'm at a loss and I'd really appreciate some direction here.

This topic is locked and can not be replied to.