John Yerhot wrote: > > So if you start only site2's mongrel cluster it actually uses the data > site3_production, though it's database.yml specifies site2_production? > > also, I think you forgot the 't.' in your rake tasks > > task :install_site3 => :environment do |t| > t.load_database > t.create_keys > t.create_preferences > t.create_admin > end
Actually I fixed it now though. It turned out running "rake install_site1 RAILS_ENV=production" also ran rake install_site2 and rake install_site3 since they were all in the same directory. Deleting the other rake scripts for each instance of my Rails app made everything work just fine. Much obliged everyone! -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

