I''m annoyed at having the always reset the server every time i edit something in my app. I believe this could be from accidently being in production mode? How do i configure mongrel or any other server to be in development or production mode? unless someone has another idea as to why i keep on having to reset my server to see updates in the browser. thank you very much Dominic -- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
script/server starts a webrick/lighty in development mode. mongrel_rails start -e development also does this. You could have a RAILS_ENV environment variable set (to ''production'') which might be the reason this is happening. Easy to test, just tail log/development.log and log/production.log and see which scrolls by as you click on links in your app. Also, some changes require a restart (config/environment.rb) etc. (This is not Radrails specific) Vish On 9/27/06, Dominic Son <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > > I''m annoyed at having the always reset the server every time i edit > something in my app. I believe this could be from accidently being in > production mode? > > How do i configure mongrel or any other server to be in development or > production mode? > > unless someone has another idea as to why i keep on having to reset my > server to see updates in the browser. > > thank you very much > > Dominic > > -- > Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---
Thank you for that common sense feeling tip. Turns out i have been resetting because i''ve been having a new thead server open. Vishnu Gopal wrote:> script/server starts a webrick/lighty in development mode. > mongrel_rails start -e development also does this. > > You could have a RAILS_ENV environment variable set (to ''production'') > which > might be the reason this is happening. Easy to test, just tail > log/development.log and log/production.log and see which scrolls by as > you > click on links in your app. > > Also, some changes require a restart (config/environment.rb) etc. > > (This is not Radrails specific) > > Vish-- Posted via http://www.ruby-forum.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 -~----------~----~----~----~------~----~------~--~---