Alan Bullock wrote: > theRemix .. wrote: >> I've had this problem for over 2 weeks: >> >> i'm following a tutorial on how to use capistrano on dreamhost servers >> here >> http://wiki.dreamhost.com/index.php/Capistrano >> > hi, I don't know if you're still following this thread but I thought I > would post in case you are. I've been struggling with the same problem > and what has fixed it for me is setting the web, app, and db servers all > to the same value, so in your case: > > role :web, "jukkakke.com" > role :app, "jukkakke.com" > role :db, "jukkakke.com", :primary => true > > hth
Alan Bullock wrote: > theRemix .. wrote: >> I've had this problem for over 2 weeks: >> >> i'm following a tutorial on how to use capistrano on dreamhost servers >> here >> http://wiki.dreamhost.com/index.php/Capistrano >> > hi, I don't know if you're still following this thread but I thought I > would post in case you are. I've been struggling with the same problem > and what has fixed it for me is setting the web, app, and db servers all > to the same value, so in your case: > > role :web, "jukkakke.com" > role :app, "jukkakke.com" > role :db, "jukkakke.com", :primary => true > > hth hey thanks for sharing your solution, yes i am still having this problem... so this is my full deploy.rb (now) [code]set :user, 'jukkakke' set :application, "jkk" set :repository, "http://svn.jukkakke.com/trunk" role :web, "jukkakke.com" role :app, "jukkakke.com" role :db, "jukkakke.com", :primary => true set :deploy_to, "/home/jukkakke/jukkakke.com" set :use_sudo, false set :checkout, "export" ssh_options[:port] = 22 ssh_options[:verbose] = :debug ssh_options[:username] = 'jukkakke' desc "Restart the FCGI processes on the app server as a regular user." task :restart, :roles => :app do run "#{current_path}/script/process/reaper --dispatcher=dispatch.fcgi" end [/code] and cap setup works! thanks! now when i run cap migrate i get this [code] command finished command "cd /home/jukkakke/jukkakke.com/current && rake RAILS_ENV=production db :migrate" failed on jukkakke.com[/code] so i checked and it probably cause theres no rake file, and no application, in fact, all i have in /home/jukkakke/jukkakke.com/current is public (empty) i'm thinking that i may have missed a step, or the wiki omitted a step... cause i was under the impression that cap setup will export the HEAD revision of my svn repository to current/ but it didn't. the last bit of confusion i'm facing may have something to do with set :application, "jkk" i really don't know what i should set the application variable to. what should i set it to? i have set up a repository at http://svn.jukkakke.com and the directory structure looks like this http://svn.jukkakke.com |-> tags |-> branches |-> trunk |-> app |-> config |-> db |-> lib |-> public |-> script etc... thanks for your help again. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---