Re: Having trouble with mod_ruby on OpenBSD 3.3

Shugo Maeda <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

At Tue, 23 Dec 2003 21:55:53 -0700,
Adam Olsen <[email protected]> wrote:
> I just installed ruby 1.8, mod_ruby 1.0.7, and eruby 1.0.5 on my OpenBSD 
> 3.3 box (all compiled from source in the order: ruby, mod_ruby, eruby).  
> Ruby scripts run by themselves, but an attempt to run an eruby script 
> fails.  The script only containts this:
> 
> <%
>     print "Hello World"
> %>
> 
> I get an "Internal Server Error" when trying to hit it with my browser.  
> The log says this:
> 
> [Tue Dec 23 21:39:55 2003] [error] mod_ruby: error in ruby
> (eval):45: (eval):45:in `instance': wrong argument type Proc (expected 
> Data) (TypeError)
>         from (eval):45:in `value'

Sorry, I couldn't reproduce the problem on my Debian machine.
Can you tell me the version of Apache and show me your httpd.conf?

Shugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.