WEBrick restart


#1

Dear list:

Somehow, I think I broke my webrick. Even forcing it to run in dev mode
at the
command-line ( -e development ), I still need to restart it for it to
pickup
and changes to .rhtml files. Changing code in controllers and helpers
works
right away, but if I change anything in a .rhtml file, refreshing the
browser
doesn’t show them. Even something as simple as changing a typo in text
in the
html portion, or more complex like changing a var inside a <% %> block,
it
doesn’t get noticed unless I restart WEBrick.

The strange thing is, if I do something like mispell a method name
inside the
ruby block, it throws an “undefined method” error. If I go change it to
the
correct name, it still gives me the “undefined method `old_method’”, but
the
“extracted source” shows the corrected line.

I recently upgraded rails using gem, and thats when my troubles started.
It
used to work fine in my old apps until i updated, and now new ones I
generate
show the same symptoms.

Anyone have any ideas as to whats going on here?

Thanks!
Paul