Tom Brandt
2006-Dec-08 21:40 UTC
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire WEBrick using the development environment, it does not reload the app with changed views. I have to shut down WEBrick and restart it to see the changes. Has anyone else had this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeff
2006-Dec-08 22:14 UTC
Re: WEBrick development environment not reloading views in Windows
Tom Brandt wrote:> I recently RoR on a machine running Windows 2003 server. When I fire > WEBrick using the development environment, it does not reload the app > with changed views. I have to shut down WEBrick and restart it to see > the changes. Has anyone else had this problem?Just modifying the views should not require a webrick restart, but changing anything in the models probably will require a webrick restart. Are you sure you''re only changing the views and not something about the models too? Jeff softiesonrails.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Xavier Noria
2006-Dec-08 22:33 UTC
Re: WEBrick development environment not reloading views in Windows
On Dec 8, 2006, at 11:14 PM, Jeff wrote:> Tom Brandt wrote: >> I recently RoR on a machine running Windows 2003 server. When I fire >> WEBrick using the development environment, it does not reload the app >> with changed views. I have to shut down WEBrick and restart it to see >> the changes. Has anyone else had this problem? > > Just modifying the views should not require a webrick restart, but > changing anything in the models probably will require a webrick > restart.Models do not need a restart in development mode, which is the one used by Tom. Views do not need a restart even in production mode, so there is something strange happening there. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Brandt
2006-Dec-08 23:35 UTC
Re: WEBrick development environment not reloading views in Windows
This is a simple "Hello World!" application and there is no model, just the controller and the view. On Dec 8, 5:14 pm, "Jeff" <cohen.j...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Tom Brandt wrote: > > I recently RoR on a machine running Windows 2003 server. When I fire > > WEBrick using the development environment, it does not reload the app > > with changed views. I have to shut down WEBrick and restart it to see > > the changes. Has anyone else had this problem?Just modifying the views should not require a webrick restart, but > changing anything in the models probably will require a webrick > restart. > > Are you sure you''re only changing the views and not something about the > models too? > > Jeff > softiesonrails.com--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Jeff
2006-Dec-09 00:59 UTC
Re: WEBrick development environment not reloading views in Windows
Tom Brandt wrote:> This is a simple "Hello World!" application and there is no model, just > the controller and the view.Do you have the mongrel gem installed? I would recommend mongrel over webrick anyway; and in Rails 1.2, it script/server will default to mongrel if you have it installed. Mongrel is easy to install on Windows, easy to start and stop, and I''ve almost never had to restart it because of changes in my application (only big things, like adding a database migration or something like that).> gem install mongrel > gem install mongrel_serviceThen from your rails app directory,> mongrel_rails startwill start up a webserver on port 3000 for you. Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tom Brandt
2006-Dec-09 01:13 UTC
Re: WEBrick development environment not reloading views in Windows
Thanks, I''ll try Mongrel. ___ twb ...... Original Message ....... On Fri, 08 Dec 2006 16:59:26 -0800 "Jeff" <cohen.jeff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > >Tom Brandt wrote: >> This is a simple "Hello World!" application and there is no model, just >> the controller and the view. > >Do you have the mongrel gem installed? I would recommend mongrel over >webrick anyway; and in Rails 1.2, it script/server will default to >mongrel if you have it installed. > >Mongrel is easy to install on Windows, easy to start and stop, and I''ve >almost never had to restart it because of changes in my application >(only big things, like adding a database migration or something like >that). > >> gem install mongrel >> gem install mongrel_service > >Then from your rails app directory, > >> mongrel_rails start > >will start up a webserver on port 3000 for you. > >Jeff > > >>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---