auto-reload issue
"Dennis Sutch" <[email protected]> Fri, 27 Apr 2007 15:56:01 -0400
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_305797_13842111.1177703761901
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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>
--
Dennis Sutch
[email protected]
------=_Part_305797_13842111.1177703761901
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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?
<br><br>Here's what I'm using:<br><br>Red Hat Enterprise Linux 3<br>Apache 2.0.46<br>Ruby 1.8.5<br>mod_ruby 1.2.6<br><br>The important section from httpd.conf file:<br><br><VirtualHost *:80><br> SetHandler ruby-object
<br> RubyTimeOut 30<br> RubyRequire auto-reload<br> RubyAddPath /var/www/myapp/bin<br> RubyRequire myapp<br> RubyHandler MyApp.instance<br></VirtualHost><br><br>-- <br>Dennis Sutch
<br><a href="mailto:[email protected]">[email protected]</a>
------=_Part_305797_13842111.1177703761901--