DEfusion
2008-Jul-17 14:54 UTC
View changes not appearing (have to restart server to see them)
My setup is as follows: Codebase on local machine (OS X), shared using samba. Application environment (ruby, gems, mysql etc.) within a Ubuntu Server install running inside a Parallels VM. The problem is whenever I make changes to the views the changes do not appear in the browser, I''ve also run Charles and I can see that the response does not contain the changes (but it does return a fresh 200 status after the change and then goes back to 304 Not Modified if I continue to refresh). The only way I can get the view changes to appear is by restarting the appropriate HTTP server (I''ve tried Mongrel, Webrick and Passenger). When Mongrel starts it does say "** Starting Rails with development environment..." so it''s not that it''s running in production mode, and I''ve done the config with Passenger to ensure it''s not running in production. As you can probably understand this is causing my development cycle to be a lot slower than it should be. Any advice is greatly appreciated. -D p.s. I don''t think that the samba share is an issue, as autotest sees the file changes instantly and re-runs the appropriate test when that''s running. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
DEfusion
2008-Jul-17 19:06 UTC
Re: View changes not appearing (have to restart server to see them)
Ok, I''ve just found this... it seems it could be the fact that I''m using a network share... why would that make any difference? http://railsforum.com/viewtopic.php?id=19268 -D On Jul 17, 3:54 pm, DEfusion <david.sp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> My setup is as follows: > > Codebase on local machine (OS X), shared using samba. > Application environment (ruby, gems, mysql etc.) within a Ubuntu > Server install running inside a Parallels VM. > > The problem is whenever I make changes to the views the changes do not > appear in the browser, I''ve also run Charles and I can see that the > response does not contain the changes (but it does return a fresh 200 > status after the change and then goes back to 304 Not Modified if I > continue to refresh). The only way I can get the view changes to > appear is by restarting the appropriate HTTP server (I''ve tried > Mongrel, Webrick and Passenger). > > When Mongrel starts it does say "** Starting Rails with development > environment..." so it''s not that it''s running in production mode, and > I''ve done the config with Passenger to ensure it''s not running in > production. > > As you can probably understand this is causing my development cycle to > be a lot slower than it should be. Any advice is greatly appreciated. > > -D > > p.s. I don''t think that the samba share is an issue, as autotest sees > the file changes instantly and re-runs the appropriate test when > that''s running.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Aurels
2008-Jul-27 10:05 UTC
Re: View changes not appearing (have to restart server to see them)
No, I don''t use any caching in development.rb/environment.rb If I switch from Rails Edge to the 2.1 gem, the problem desapears. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---