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
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
Guys,
Any suggestions?
Thanks,
Bala
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-
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
~~~~~~~~~~~~~~~~~*
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-
Are you in development or production server?
if you are in production you should use svn and capistrano.
[email protected] [~/project_dev]> svn add config/database.yml
[email protected] [~/project_dev]> svn commit -m “Configured
Application for Capistrano”
[email protected] [~/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
~~~~~~~~~~~~~~~~~*
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs