Hi Experts, I was wondering if whether we can stop loading database.yml file when rails loaded instead i want to load my new configuration yml file, is that possible. to do? I''m eagerly waiting for your reply guys. Thanks, Bala --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Guys, Any suggestions? Thanks, Bala Bala wrote:> Hi Experts, > > I was wondering if whether we can stop loading database.yml file when > rails loaded instead i want to load my new configuration yml file, is > that possible. to do? > > I''m eagerly waiting for your reply guys. > > Thanks, > > Bala--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Are you in development or production server? if you are in production you should use svn and capistrano. Voodoo-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> svn add config/database.yml Voodoo-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> svn commit -m "Configured Application for Capistrano" Voodoo-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> cap deploy it will auto deploy to your project app in production server. if you are in development server : first you have to do is make sure that you have done gem installed mysql, you can change without shutdown the rails. (!~_~) ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Reinhart Ariando YM : booking2heaven Web: http://teapoci.blogspot.com ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* -- 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 -~----------~----~----~----~------~----~------~--~---
I''m development mode, mysql gem installed, running with help of webrick. so where do i start? i''m blank right now. :( On Feb 20, 1:18 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- s.net> wrote:> Are you in development or production server? > > if you are in production you should use svn and capistrano. > > Voo...-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> svn add config/database.yml > Voo...-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> svn commit -m "Configured > Application for Capistrano" > Voo...-4xZyhG3/cKzT293SL0VI6Q@public.gmane.org [~/project_dev]> cap deploy > > it will auto deploy to your project app in production server. > > if you are in development server : > > first you have to do is make sure that you have done gem installed > mysql, you can change without shutdown the rails. (!~_~) > > ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Reinhart Ariando > YM : booking2heaven > Web:http://teapoci.blogspot.com > ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > -- > 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 -~----------~----~----~----~------~----~------~--~---
Your objective is want to change configuration in database.yml right? you have to stop your webrick and reload it after your database.yml''s configured. I never try deploying in development server. Sorry if you are not satisfied with my help. ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Reinhart Ariando YM : booking2heaven Web: http://teapoci.blogspot.com ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* -- 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 -~----------~----~----~----~------~----~------~--~---
No i dont want to load database.yml file itself, instead i''ve my own yml file. i want to load when rails start. :) sorry if my question confused you. :) On Feb 20, 1:36 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- s.net> wrote:> Your objective is want to change configuration in database.yml right? > you have to stop your webrick and reload it after your database.yml''s > configured. I never try deploying in development server. Sorry if you > are not satisfied with my help. > > ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > Reinhart Ariando > YM : booking2heaven > Web:http://teapoci.blogspot.com > ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* > -- > 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 -~----------~----~----~----~------~----~------~--~---