Forum: Ruby on Rails 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.
Gogi G. (Guest)
on 2006-04-14 19:34

We install ruby, rail, rubygems, rails, mod_fastcgi and fastCGI nad we
get from this URL ans everything
install with no errors, but when we try to run "test" we get this:

Error from apache error_log:

Premature end of script headers:
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:46:in `require': no such
file to load -- rubygems/rubygems_version.rb (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:46
        from ./../config/boot.rb:18
        from ./../config/environment.rb:11
        from dispatch.cgi:3
[Fri Apr 14 17:27:40 2006] [error] Premature end of script headers:


require File.dirname(__FILE__) + "/../config/environment" unless

require "dispatcher"

ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if } if defined?(Apache::RubyRun)

Options +FollowSymLinks +ExecCGI


We dont know what is wrong. Anyone got idea or any fix for that ?

Thank you.

This topic is locked and can not be replied to.