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

bump - still really keen on this if someone has such a file they could
send me

Greg H. 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

On Thu, Jul 27, 2006, Greg H. 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

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

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 B. wrote:

On Thu, Jul 27, 2006, Greg H. 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

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 :: ] Couldn’t find any process matching:
    /home///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 H. 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 B. wrote:

On Thu, Jul 27, 2006, Greg H. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs