Forum: Ruby on Rails WEBrick restart

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
paul (Guest)
on 2005-11-12 13:49
(Received via mailing list)
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
This topic is locked and can not be replied to.