Forum: Ruby on Rails Do module source code changes require reboot of WEBrick?

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.
Bb4bdf2b184027bc38d4fb529770cde5?d=identicon&s=25 Wes Gamble (weyus)
on 2006-03-21 19:41
Assume that I refactor some code into a module and "require it into" my
controller.

Do I then need to restart my WEBrick server each time that I change the
module?

Thanks,
Wes
Ad7805c9fcc1f13efc6ed11251a6c4d2?d=identicon&s=25 Alex Young (Guest)
on 2006-03-21 19:44
(Received via mailing list)
Wes Gamble wrote:
> Assume that I refactor some code into a module and "require it into" my
> controller.
>
> Do I then need to restart my WEBrick server each time that I change the
> module?
Yes.  Library code isn't reloaded.
Eeba234182bcbd7faed9ff52e233394d?d=identicon&s=25 Douglas Livingstone (Guest)
on 2006-03-22 00:16
(Received via mailing list)
Is there a quick way to restart the Rails servlet in WEBrick, rather
than restarting WEBrick itself?

Douglas

2006/3/21, Alex Young <alex@blackkettle.org>:
15bf61332913bfe999465ca290370304?d=identicon&s=25 Jesse Cai (caiwangqin)
on 2006-03-22 01:26
(Received via mailing list)
are you used RadRails?

2006/3/22, Douglas Livingstone <rampant@gmail.com>:
> > > controller.
> > Rails@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



--
Best Regards,

Caiwangqin
http://www.uuzone.com
Mobile:  +8613951787088
Tel:  +86025-84818086 ext 233
Fax: +86025-84814993
This topic is locked and can not be replied to.