FreeBSD 5.4 ROR 1.2.3 Premature end of script headers

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 ExceptionMissingSourceFile’ 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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs