Mod_ruby installation probs

Hi,

[Thu May 29 12:48:26 2003] [error] mod_ruby: error in ruby
(eval): uninitialized constant ERubyRun at Apache (NameError)
from ruby:0:in `value’

I get this error when running .rhtml (embedded) with the config below. Ideas?

LoadModule ruby_module libexec/apache/mod_ruby.so

RubyRequire apache/ruby-run

<Location /ruby>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
Options ExecCGI

<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance

RubyRequire apache/eruby-run
<Location /eruby>
SetHandler ruby-object
RubyHandler Apache::ERubyRun.instance
Options ExecCGI

<Files *.rhtml>
SetHandler ruby-object
RubyHandler Apache::ERubyRun.instance

···


May 29 Gilbert Keith Chesterton born, 1874
May 29 John Fitzgerald Kennedy born, 1917
May 29 Patrick Henry born, 1736
May 29* Ascension Day (10 days before Pentecost)
May 29 Edmund Hillary and Tenzing Norkay climb Mt. Everest, 1953
May 29 First food stamps issued, 1961

----- End forwarded message -----


May 29 Gilbert Keith Chesterton born, 1874
May 29 John Fitzgerald Kennedy born, 1917
May 29 Patrick Henry born, 1736
May 29* Ascension Day (10 days before Pentecost)
May 29 Edmund Hillary and Tenzing Norkay climb Mt. Everest, 1953
May 29 First food stamps issued, 1961

I get this error when running .rhtml (embedded) with the config below. Ideas?

LoadModule ruby_module libexec/apache/mod_ruby.so

[snip]

I never tried using ‘eruby’, so I have no clue…
besides that your mod_ruby config looks exactly like mine.

Does *.rbx works for you ?

You may find answers in the mod_ruby mailinglist archives ?
http://modruby.net/ml/archive/

···

On Fri, 30 May 2003 09:48:01 +0900, Daniel Bretoi wrote:


Simon Strandgaard