From: Brian Chapman Date: 2001-11-22T14:16:11+09:00 Subject: [ruby-talk:26109] eruby on windows and apache I'm having trouble getting require 'anything' to work with eruby on windows xp and apache 1.3.22. The error information I'm getting is included at the bottom. To install eruby I just followed the instructions in the Programming Ruby: The Pragmatic Programmers Guide... 1. Copy the eruby binary to the cgi-bin directory. 2. Add the following two lines to httpd.conf: AddType application/x-httpd-eruby .rhtml Action application/x-httpd-eruby /cgi-bin/eruby Is there a better way to set this up? I'm getting load errors whenever I try to do a require 'x' Thanks, Brian [Wed Nov 21 21:00:55 2001] [error] [client 127.0.0.1] (2)No such file or directory: script not found or unable to stat: d:/programs/apache group/apache/cgi-bin/eruby [Wed Nov 21 21:02:28 2001] [error] [client 127.0.0.1] Premature end of script headers: d:/programs/apache group/apache/cgi-bin/eruby.EXE [Wed Nov 21 21:02:28 2001] [error] [client 127.0.0.1] d:\programs\apache group\apache\htdocs\brian\album.rhtml:1:in `require': No such file to load -- cgi (LoadError) __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1