[capistrano] Re: Capistrano + cPanel = ?

2009-06-25 Thread Lee Hambley
pl, You can deploy there easily enough, you can use cap to start your mongrel instances remotely, and as for the file structure, you can set a variable called :current_path which you can use to rename the would-be current symlink to be inline with what cpanel is expecting. If you can jog my

[capistrano] Re: Multistage deploy does not seem to be reading stage-specific files

2009-06-25 Thread Cyrille
Thanks Jamis, it works great! Cyrille On Jun 24, 4:17 pm, Jamis Buck ja...@37signals.com wrote: Try this:   role(:web) { [domain, {:primary = true}] } In other words, the block should return an array corresponding to the arguments you would normally have passed to role(). The first _n_

[capistrano] Re: Capistrano + cPanel = ?

2009-06-25 Thread Geoff
It's a bit painful really as each app you run with cpanel has it's own port set so you have to create the app to find out what port gets allocated to it. You can take a look at the primehosting gem which works alright. It's on both rubyforge and GitHub (geoffgarside/ primehosting). I don't know

[capistrano] Re: Capistrano + cPanel = ?

2009-06-25 Thread pl
Thanks for your responses. I just found out that my apps are running on the system gems instead of user gems, so I'll first wait for my host to fix that. After that I'll certainly check out the solution of Geoff. On 25 jun, 15:46, Geoff ggars...@gmail.com wrote: It's a bit painful really as