Is there any way to end up somewhere in between the development environment and production environment as far as refreshing the source on every request. Our setup is that we work off of nfs shares which makes it extremely slow for a page load in development since it has to pull in the whole app on each request. I''m used to it by now and only get a few changes in an hour :). Just curious if there is a way to help this without running on localhost which is not a good option for us. Thanks, Fredrik --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Fred, I think you can avoid your problem by using a rtmv script joint with a sqrtvm fixture. It''s eaay. If you have any problem, just mail me. I''ll be happy to help you. I use to go out with Bill Gates'' grand daugher. Man, she was nasty. Kinda fish tacos.... Fredrik wrote:> Is there any way to end up somewhere in between the development > environment and production environment as far as refreshing the > source on every request. > Our setup is that we work off of nfs shares which makes it extremely > slow for a page load in development since it has to pull in the whole > app on each request. > I''m used to it by now and only get a few changes in an hour :). > Just curious if there is a way to help this without running on > localhost which is not a good option for us. > > Thanks, > Fredrik-- 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?hl=en -~----------~----~----~----~------~----~------~--~---
lol. What? No idea what you just said, but thanks. :) Fredrik On May 1, 1:54 am, Guest <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Fred, I think you can avoid your problem by using a rtmv script joint > with a sqrtvm fixture. It''s eaay. If you have any problem, just mail me. > I''ll be happy to help you. I use to go out with Bill Gates'' grand > daugher. Man, she was nasty. Kinda fish tacos.... > > Fredrikwrote: > > Is there any way to end up somewhere in between the development > > environment and production environment as far as refreshing the > > source on every request. > > Our setup is that we work off of nfs shares which makes it extremely > > slow for a page load in development since it has to pull in the whole > > app on each request. > > I''m used to it by now and only get a few changes in an hour :). > > Just curious if there is a way to help this without running on > > localhost which is not a good option for us. > > > Thanks, > >Fredrik > > -- > Posted viahttp://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?hl=en -~----------~----~----~----~------~----~------~--~---
I think Joshua was very bombed last night... or just a general troll. Anyway, as far as I understand rails environments, they are just ruby settings files that are loaded after the main environment.rb is loaded. So you should be able to create something like a staging.rb environment file and put your settings in there. Then specify -e staging when starting mongrel (or whatever your server''s equivalent is). As for what settings go in there to achieve the effect you want... you''ll have to figure that out... or maybe someone else can help. b Fredrik wrote:> lol. What? No idea what you just said, but thanks. :) > > Fredrik > > On May 1, 1:54 am, Guest <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> Fred, I think you can avoid your problem by using a rtmv script joint >> with a sqrtvm fixture. It''s eaay. If you have any problem, just mail me. >> I''ll be happy to help you. I use to go out with Bill Gates'' grand >> daugher. Man, she was nasty. Kinda fish tacos.... >> >> Fredrikwrote: >>> Is there any way to end up somewhere in between the development >>> environment and production environment as far as refreshing the >>> source on every request. >>> Our setup is that we work off of nfs shares which makes it extremely >>> slow for a page load in development since it has to pull in the whole >>> app on each request. >>> I''m used to it by now and only get a few changes in an hour :). >>> Just curious if there is a way to help this without running on >>> localhost which is not a good option for us. >>> Thanks, >>> Fredrik >> -- >> Posted viahttp://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?hl=en -~----------~----~----~----~------~----~------~--~---
It was kind of a long shot, I know. Just editing the development.rb is what I was thinking but I have no idea what to change there. I still want to refresh the controllers/views/models, but prehaps only the one being requested, which would be nice. Fredrik On May 1, 1:53 pm, Ben Munat <bmu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I think Joshua was very bombed last night... or just a general troll. > > Anyway, as far as I understand rails environments, they are just ruby > settings files that are loaded after the main environment.rb is loaded. > > So you should be able to create something like a staging.rb environment > file and put your settings in there. Then specify -e staging when > starting mongrel (or whatever your server''s equivalent is). > > As for what settings go in there to achieve the effect you want... > you''ll have to figure that out... or maybe someone else can help. > > b > > Fredrik wrote: > > lol. What? No idea what you just said, but thanks. :) > > > Fredrik > > > On May 1, 1:54 am, Guest <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > >> Fred, I think you can avoid your problem by using a rtmv script joint > >> with a sqrtvm fixture. It''s eaay. If you have any problem, just mail me. > >> I''ll be happy to help you. I use to go out with Bill Gates'' grand > >> daugher. Man, she was nasty. Kinda fish tacos.... > > >> Fredrikwrote: > >>> Is there any way to end up somewhere in between the development > >>> environment and production environment as far as refreshing the > >>> source on every request. > >>> Our setup is that we work off of nfs shares which makes it extremely > >>> slow for a page load in development since it has to pull in the whole > >>> app on each request. > >>> I''m used to it by now and only get a few changes in an hour :). > >>> Just curious if there is a way to help this without running on > >>> localhost which is not a good option for us. > >>> Thanks, > >>> Fredrik > >> -- > >> Posted viahttp://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?hl=en -~----------~----~----~----~------~----~------~--~---
Fredrik wrote:> It was kind of a long shot, I know. Just editing the development.rb is > what I was thinking but I have no idea what to change there. I still > want to refresh the controllers/views/models, but prehaps only the one > being requested, which would be nice. > > Fredrikin production/development/etc...rb you can set config.cache_classes = true to control whether or not classes are cached. Fred -- 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?hl=en -~----------~----~----~----~------~----~------~--~---