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/mod_env.so
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 1.2.3.4] 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
/usr/local/lib/ruby/gems/1.8/gems
–snip–
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.
Luke