Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Deployment conflict question

View Parsed - Show only message text

Received: by 10.204.53.201 with SMTP id n9mr10665bkg.21.1246559520754;
        Thu, 02 Jul 2009 11:32:00 -0700 (PDT)
Return-Path: <lee.hamb...@gmail.com>
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154])
        by gmr-mx.google.com with ESMTP id 16si294464bwz.0.2009.07.02.11.31.59;
        Thu, 02 Jul 2009 11:31:59 -0700 (PDT)
Received-SPF: pass (google.com: domain of lee.hamb...@gmail.com designates 72.14.220.154 as permitted sender) client-ip=72.14.220.154;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lee.hamb...@gmail.com designates 72.14.220.154 as permitted sender) smtp.mail=lee.hamb...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by fg-out-1718.google.com with SMTP id 16so590081fgg.14
        for <capistrano@googlegroups.com>; Thu, 02 Jul 2009 11:31:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type;
        bh=WH6HTTrhMxESigtBCnKGPNY9FbmAvycBN4f1T/7EPh0=;
        b=JUiQYe+33Lrt7/dnDPZJZ/bYSm5/xmmnn6MFQ35dMcCUk13k1PYFQaMvSTF7hb8wvh
         DlhJYTuH6MHcUYLGiGbvfqVM4yO89OyNAdJhrEv1L9pGVQPt4I//DI4rY453iZtOgpDX
         nZi9KptaBf/YX6L9TOYfbXiCVsZECuwqKODGE=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=gyVqDT6EC7kXHtXydZQFYp6Q1CYwUey8v3W6s3UCLxOQ0qXlY2Ub7s254d9/zc7+sk
         eV7grT4JPwB9JwyyRk+s6nrrRwaxg5NVl0bv/Geyoym5FvBl5l4YJuveUxnSeD1sgDzy
         fqwJ032fVls09gpWLkGg01YdWJlCJTI1ioHes=
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="000e0cd28d145a02cb046dbd4144"
Received: by 10.86.92.9 with SMTP id p9mr518969fgb.64.1246559519506; Thu, 02 
	Jul 2009 11:31:59 -0700 (PDT)
In-Reply-To: <ef3b7c5c-6b2d-443e-9fe1-a486b4f8d904@h18g2000yqj.googlegroups.com>
References: <ef3b7c5c-6b2d-443e-9fe1-a486b4f8d904@h18g2000yqj.googlegroups.com>
Date: Thu, 2 Jul 2009 19:31:59 +0100
Message-ID: <e2172f210907021131n64d25e77t91219c79e81d6...@mail.gmail.com>
Subject: Re: [capistrano] Deployment conflict question
From: Lee Hambley <lee.hamb...@gmail.com>
To: capistrano@googlegroups.com

--000e0cd28d145a02cb046dbd4144
Content-Type: text/plain; charset=UTF-8

Cindy,
Your mileage may vary using the remote dependencies and deploy:check... you
should also have a way of managing gems, this can be done through modern
rails (2.x+) or with a specific gem called geminstaller.

http://mislav.uniqpath.com/rails/specify-your-dependencies-with-capistrano/

- Lee

2009/7/2 cswebgrl <cschal...@gmail.com>

>
> Hi.
>
> I tried to deploy new Rails app code to a production server the other
> day and took down the live site in production.  I'd like to avoid this
> in the future.  Something happened in the process that affected the
> live site.  The error log showed that fastthread was not found.  I had
> to go into the fastthread gem and run setup.rb.  Then it told me that
> Rails was not installed so I had to do a gem install Rails.  Then
> there were other gems that were needed by the application and not
> found so I had to reinstall those too.
>
> I have my own staging server that this all worked on, but the staging
> server is able to serve multiple sites so it is not an exact replicate
> of the client's production box.  The Apache setup is such that only
> one site can be served from this machine - the document root in Apache
> is /project/public.
>
> I've got a couple of questions. 1- Any idea why gems would need to be
> reinstalled?  2- Can I deploy Capistrano without restarting Passenger
> to put the code onto the production server and then once it's all
> there, change the document root in Apache then do a deploy with the
> Passenger restart?
>
>
> Thanks,
> Cindy
>
>
> >
>

--000e0cd28d145a02cb046dbd4144
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Cindy,<div><br></div><div>Your mileage may vary using the remote dependenci=
es and deploy:check... you should also have a way of managing gems, this ca=
n be done through modern rails (2.x+) or with a specific gem called geminst=
aller.</div>
<div><br></div><div><a href=3D"http://mislav.uniqpath.com/rails/specify-you=
r-dependencies-with-capistrano/">http://mislav.uniqpath.com/rails/specify-y=
our-dependencies-with-capistrano/</a></div><div><br></div><div>- Lee<br><br=
>
<div class=3D"gmail_quote">2009/7/2 cswebgrl <span dir=3D"ltr">&lt;<a href=
=3D"mailto:cschal...@gmail.com">cschal...@gmail.com</a>&gt;</span><br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex;">
<br>
Hi.<br>
<br>
I tried to deploy new Rails app code to a production server the other<br>
day and took down the live site in production. =C2=A0I&#39;d like to avoid =
this<br>
in the future. =C2=A0Something happened in the process that affected the<br=
>
live site. =C2=A0The error log showed that fastthread was not found. =C2=A0=
I had<br>
to go into the fastthread gem and run setup.rb. =C2=A0Then it told me that<=
br>
Rails was not installed so I had to do a gem install Rails. =C2=A0Then<br>
there were other gems that were needed by the application and not<br>
found so I had to reinstall those too.<br>
<br>
I have my own staging server that this all worked on, but the staging<br>
server is able to serve multiple sites so it is not an exact replicate<br>
of the client&#39;s production box. =C2=A0The Apache setup is such that onl=
y<br>
one site can be served from this machine - the document root in Apache<br>
is /project/public.<br>
<br>
I&#39;ve got a couple of questions. 1- Any idea why gems would need to be<b=
r>
reinstalled? =C2=A02- Can I deploy Capistrano without restarting Passenger<=
br>
to put the code onto the production server and then once it&#39;s all<br>
there, change the document root in Apache then do a deploy with the<br>
Passenger restart?<br>
<br>
<br>
Thanks,<br>
Cindy<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--000e0cd28d145a02cb046dbd4144--


Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google