LoadModule ruby_module extramodules/mod_ruby.so
# taken from the example file
# If the ruby module is installed, this will be enabled.
# for Apache::RubyRun
RubyRequire apache/ruby-run
# exec files under /ruby as ruby scripts.
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
Options ExecCGI
# exec *.rbx as ruby scripts.
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
# # for Apache::ERubyRun
# RubyRequire apache/eruby-run
#
# # handle files under /eruby as eRuby files by eruby.
#
# SetHandler ruby-object
# RubyHandler Apache::ERubyRun.instance
# Options ExecCGI
#
#
# # handle *.rhtml as eruby files.
#
# SetHandler ruby-object
# RubyHandler Apache::ERubyRun.instance
#
# # for Apache::ERbRun
# RubyRequire apache/erb-run
#
# # handle files under /erb as eRuby files by ERb.
#
# SetHandler ruby-object
# RubyHandler Apache::ERbRun.instance
# Options ExecCGI
#
# # for debug
# RubyRequire auto-reload