Pl, Freezing your Rails version is deployment 101! - http://www.softiesonrails.com/2008/1/3/freezing-your-rails-application
- Lee 2009/6/27 Geoff <[email protected]> > > 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 <[email protected]> wrote: > > 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 <[email protected]> wrote: > > > > > > > > > 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 server. > > > > > On 25 June, 19:23, pl <[email protected]> wrote: > > > > > > 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 <[email protected]> wrote: > > > > > > > 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 if there have been any recent cpanel > > > > > changes which might have broken it as I've not touched the project > for > > > > > a while now but let me know if you can't get it working. > > > > > > > On 25 June, 12:19, Lee Hambley <[email protected]> wrote: > > > > > > > > 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 memory with the file-structure that cpanel > wants, I'll > > > > > > show you what the variables should be set to. > > > > > > > > - Lee > > > > > > > > 2009/6/24 pl <[email protected]> > > > > > > > > > Oh that's no problem, I have SSH access, git is installed, I > can > > > > > > > update gems etc. > > > > > > > > > On 24 jun, 18:11, Mathias Meyer <[email protected]> > wrote: > > > > > > > > On Wed, Jun 24, 2009 at 6:04 PM, pl<[email protected]> > 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 section:http://plict.nl/ror-cpanel.png. > > > > > > > > > > Since Capistrano requires SSH access to the server you want > to deploy > > > > > > > > to I guess you're out of luck on that front, unless someone > has > > > > > > > > written an adapter for that purpose. > > > > > > > > > > Cheers, Mathias > > > > > > > > --http://paperplanes.dehttp://twitter.com/roidrage > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
