[capistrano] Re: Capistrano + cPanel = ?

2009-06-27 Thread Geoff
Ah right, can't you freeze your rails dependent version into your app so that it will use that instead of the system gems. On 26 June, 15:38, pl pepijnloo...@gmail.com wrote: I understand that the primehosting gem only runs on your system. It's just that my applications run on system gems, so

[capistrano] Re: Capistrano + cPanel = ?

2009-06-27 Thread Lee Hambley
Pl, Freezing your Rails version is deployment 101! - http://www.softiesonrails.com/2008/1/3/freezing-your-rails-application - Lee 2009/6/27 Geoff ggars...@gmail.com Ah right, can't you freeze your rails dependent version into your app so that it will use that instead of the system gems.

[capistrano] Re: Capistrano + cPanel = ?

2009-06-26 Thread Geoff
The primehosting gem only needs to be installed on the machine you are running capistrano from, it doesn't need to be on the hosting machine. It's just a couple of recipes that do things the cpanel/rails way instead of other situations where you might use mongrel cluster or passenger for your app

[capistrano] Re: Capistrano + cPanel = ?

2009-06-26 Thread pl
I understand that the primehosting gem only runs on your system. It's just that my applications run on system gems, so they don't run (rails version mismatch). On 26 jun, 09:24, Geoff ggars...@gmail.com wrote: The primehosting gem only needs to be installed on the machine you are running

[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: 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

[capistrano] Re: Capistrano + cPanel = ?

2009-06-24 Thread Mathias Meyer
On Wed, Jun 24, 2009 at 6:04 PM, plpepijnloo...@gmail.com wrote: Hi there, Does anybody have experience deploying to cPanel with Capistrano? cPanel has its own Ruby on Rails section, but I don't really like it and want to make use of my GitHub repository. Here is a screenshot of that

[capistrano] Re: Capistrano + cPanel = ?

2009-06-24 Thread pl
Oh that's no problem, I have SSH access, git is installed, I can update gems etc. On 24 jun, 18:11, Mathias Meyer pomonra...@googlemail.com wrote: On Wed, Jun 24, 2009 at 6:04 PM, plpepijnloo...@gmail.com wrote: Hi there, Does anybody have experience deploying to cPanel with Capistrano?