Greg Hauptmann
2006-Jul-27 03:43 UTC
[Rails] Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-27 09:08 UTC
[Rails] Re: Dreamhost working deploy.rb? Can anyone post/send me a c
bump - still really keen on this if someone has such a file they could send me Greg Hauptmann wrote:> Hi, > > Just trying to get Capistrano working to Dreamhost. I''m hitting a > permissions issue on the reaper file at the moment. > > Has anyone a copy of the capistrano DEPLOY.RB file they could post or > send me a copy of please? > > Thanks > Greg-- Posted via http://www.ruby-forum.com/.
Ben Bleything
2006-Jul-27 15:57 UTC
[Rails] Dreamhost working deploy.rb? Can anyone post/send me a copy?
On Thu, Jul 27, 2006, Greg Hauptmann wrote:> Hi, > > Just trying to get Capistrano working to Dreamhost. I''m hitting a > permissions issue on the reaper file at the moment.Make sure that use_sudo is set to false.> Has anyone a copy of the capistrano DEPLOY.RB file they could post or > send me a copy of please?http://nubyonrails.com/articles/2005/12/29/switchtower-recipe-for-dreamhost If that doesn''t help, I can share the one I''m using. Ben
Chris Lowis
2006-Jul-27 18:29 UTC
[Rails] Re: Dreamhost working deploy.rb? Can anyone post/send me a c
>> Just trying to get Capistrano working to Dreamhost. I''m hitting a >> permissions issue on the reaper file at the moment.There''s also one on wiki.dreamhost.com - sorry I don''t have the URL at the moment as the site seems to be down. I think the page is called Capistrano. If you get a recipe working, and it differs from the one on the wiki, could you post it there as well ? Regards, Chris -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-27 19:43 UTC
[Rails] Re: Dreamhost working deploy.rb? Can anyone post/send me a c
Tks Ben, Re the URL you gave me, that seems to be the problem I''m having (i.e. permissions settings not quite right). Is the only thing you did to your deploy.rb besides setting the config variables to add this (i.e. see below) to your file? I''d be quite interested in having a look at at your deploy.rb if you could send it to me or the forum (gregsfm AT tpg DOT com DOT au). ................. desc ?set some permissions? task :after_update_code, :roles => :app do run ?chmod +x #{release_path}/public/dispatch? run ?chmod +x #{release_path}/script/process/? end ................. Tks Greg Ben Bleything wrote:> On Thu, Jul 27, 2006, Greg Hauptmann wrote: >> Hi, >> >> Just trying to get Capistrano working to Dreamhost. I''m hitting a >> permissions issue on the reaper file at the moment. > > Make sure that use_sudo is set to false. > >> Has anyone a copy of the capistrano DEPLOY.RB file they could post or >> send me a copy of please? > > http://nubyonrails.com/articles/2005/12/29/switchtower-recipe-for-dreamhost > > If that doesn''t help, I can share the one I''m using. > > Ben-- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-27 20:42 UTC
[Rails] Re: Dreamhost working deploy.rb? Can anyone post/send me a c
PS. Ben, I''m now getting the following remaining issues - did you find away around these: a) script couldn''t find dispatch.fcgi - Error was as follows (I replace some specifics with <>): ** transaction: commit ** [out :: <mydomain>] Couldn''t find any process matching: /home/<loginname>/<mydomain>/current/public/dispatch.fcgi - do you know what Capistrano is trying to do here or how to correct this? b) I noted that after a new release some of the pages were still being cached. I tried a "killall -9 ruby" a few times and this seemed to correct things such that the browser could pick up the latest changes. Just wondering how you handled this one too in the capistrano deploy file. Tks Greg Greg Hauptmann wrote:> Tks Ben, > > Re the URL you gave me, that seems to be the problem I''m having (i.e. > permissions settings not quite right). Is the only thing you did to > your deploy.rb besides setting the config variables to add this (i.e. > see below) to your file? > > I''d be quite interested in having a look at at your deploy.rb if you > could send it to me or the forum (gregsfm AT tpg DOT com DOT au). > > ................. > desc ?set some permissions? task :after_update_code, :roles => :app do > run ?chmod +x #{release_path}/public/dispatch? run ?chmod +x > #{release_path}/script/process/? end > ................. > > Tks > Greg > > Ben Bleything wrote: >> On Thu, Jul 27, 2006, Greg Hauptmann wrote: >>> Hi, >>> >>> Just trying to get Capistrano working to Dreamhost. I''m hitting a >>> permissions issue on the reaper file at the moment. >> >> Make sure that use_sudo is set to false. >> >>> Has anyone a copy of the capistrano DEPLOY.RB file they could post or >>> send me a copy of please? >> >> http://nubyonrails.com/articles/2005/12/29/switchtower-recipe-for-dreamhost >> >> If that doesn''t help, I can share the one I''m using. >> >> Ben-- Posted via http://www.ruby-forum.com/.