Dennis Sutch
2007-04-27 19:56:01 UTC
I'm able to successfully use mod_ruby to serve a Ruby script. After I add
the "RubyRequire auto-reload" directive (and restart Apache), changes to my
script are not reflected when I reload my browser. Is there something else
that I need to do (see configuration below)? Does auto-reload work in the
current version of mod_ruby?
Here's what I'm using:
Red Hat Enterprise Linux 3
Apache 2.0.46
Ruby 1.8.5
mod_ruby 1.2.6
The important section from httpd.conf file:
<VirtualHost *:80>
SetHandler ruby-object
RubyTimeOut 30
RubyRequire auto-reload
RubyAddPath /var/www/myapp/bin
RubyRequire myapp
RubyHandler MyApp.instance
</VirtualHost>
the "RubyRequire auto-reload" directive (and restart Apache), changes to my
script are not reflected when I reload my browser. Is there something else
that I need to do (see configuration below)? Does auto-reload work in the
current version of mod_ruby?
Here's what I'm using:
Red Hat Enterprise Linux 3
Apache 2.0.46
Ruby 1.8.5
mod_ruby 1.2.6
The important section from httpd.conf file:
<VirtualHost *:80>
SetHandler ruby-object
RubyTimeOut 30
RubyRequire auto-reload
RubyAddPath /var/www/myapp/bin
RubyRequire myapp
RubyHandler MyApp.instance
</VirtualHost>
--
Dennis Sutch
***@sutch.com
Dennis Sutch
***@sutch.com