# Mod\_ruby installation probs

**URL:** <https://rubytalk.org/t/mod-ruby-installation-probs/6181>\
**Category:** ruby-talk\
**Created:** [29 May 2003 23:48 UTC](https://rubytalk.org/t/mod-ruby-installation-probs/6181 "2003-05-29T23:48:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel10](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@Daniel10](https://rubytalk.org/u/Daniel10)\
**Post date:** [29 May 2003 23:48 UTC](https://rubytalk.org/t/mod-ruby-installation-probs/6181/1 "2003-05-29T23:48:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Simon\_Strandgaard](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Simon\_Strandgaard](https://rubytalk.org/u/Simon_Strandgaard)\
**Post date:** [31 May 2003 06:15 UTC](https://rubytalk.org/t/mod-ruby-installation-probs/6181/2 "2003-05-31T06:15:51Z")

</div>

> 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/](http://modruby.net/ml/archive/)

> **···**
>
> On Fri, 30 May 2003 09:48:01 +0900, Daniel Bretoi wrote:
> 
> –  
> Simon Strandgaard
