Hello, For production my database resides on another server then my Railsapp, so my production.rb looks as follows: role :web, "192.168.2.20" role :app, "192.168.2.20" role :db, "192.168.2.21", :primary => true
Unfortunately this won't work. When capistrano tries to run 'rake db:migrate' on the database-server it returns that I first have to run 'bundle install', because gems are missing. A quick solution is as follows: role :web, "192.168.2.20" role :app, "192.168.2.20", "192.168.2.21" role :db, "192.168.2.21", :primary => true In other words, installing my Railsapp on the database-server solves my problem. But I'm not really satisfied with that solution. Is it really necessary to install my railsapp on my database server? In other words, can I run rake db:migrate in a way the gems doesn't need to be installed on the server? -- * You received this message because you are subscribed to the Google Groups "Capistrano" 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/capistrano?hl=en
