-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using mod_ruby with apache 2.2.6 without any issues. I manually
compiled and installed both apache and mod_ruby so I'm not sure of how
much help I'll be.

My config is pretty simple:

LoadModule ruby_module /usr/local/apache2/modules/mod_ruby.so

<IfModule mod_ruby.c>

~        RubyRequire apache/ruby-run
~        <Files *.rbx>
~                SetHandler ruby-object
~                RubyHandler Apache::RubyRun.instance
~        </Files>

~        RubyRequire apache/eruby-run
~        <Files *.rhtml>
~                SetHandler ruby-object
~                RubyHandler Apache::ERubyRun.instance
~        </Files>
</IfModule>

It's installed here:

root@takk:/usr/lib/ruby/1.8# ls -la apache/
total 64
drwxr-xr-x  2 root root  4096 2007-11-05 17:03 ./
drwxr-xr-x 32 root root  4096 2007-11-05 17:03 ../
- -rw-r--r--  1 root root  3664 2007-11-05 17:03 erb-run.rb
- -rw-r--r--  1 root root  3381 2007-11-05 17:03 eruby-debug.rb
- -rw-r--r--  1 root root  3229 2007-11-05 17:03 eruby-run.rb
- -rw-r--r--  1 root root  6148 2007-11-05 17:03 query.rb
- -rw-r--r--  1 root root 13949 2007-11-05 17:03 rails-dispatcher.rb
- -rw-r--r--  1 root root  3626 2007-11-05 17:03 rd2html.rb
- -rw-r--r--  1 root root  2353 2007-11-05 17:03 registry.rb
- -rw-r--r--  1 root root  3428 2007-11-05 17:03 ruby-debug.rb
- -rw-r--r--  1 root root  3956 2007-11-05 17:03 ruby-profile.rb
- -rw-r--r--  1 root root  2461 2007-11-05 17:03 ruby-run.rb
root@takk:/usr/lib/ruby/1.8#

Let me know if I can be of further help.

Tiago Macedo

Une Bue wrote:
| Roger Pack <rogerpack2005 / gmail.com> wrote:
|
|> I'm not too familiar with it, but it may be an additional Option you
|> need to add or an AddHandler.
|
| thanks for your answer, i discovered, in the mean time, Apache 2, is
| unable to load mod_ruby.so because of a symbol not found, expected in a
| flat name space...
|
| i fall back to Apache 1.3, the Apple's default wich works at least, for
| the time being, with rbx files in any directory...
|
|
| also i wanted to compile the latest mod_ruby, but it fails.
|
| i suspect something wrong in my manuall Apache 2 install (i wanted to
| link the latest mod_ruby with this apache 2)...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgXNAEACgkQxFuRTtCTMvJWnQCfWuYcBdFOUIrsmbth5vBdY7Q7
h+MAn28LQquclWD6JZRUoO8q/fGQNNdo
=eGxJ
-----END PGP SIGNATURE-----