<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Deploying Rails with Edge and Engines to Dreamhost using Capistrano</title>
	<atom:link href="http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/</link>
	<description></description>
	<pubDate>Thu, 28 Aug 2008 01:30:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Rails Deployment &#187; Blog Archive &#187; Dreamhost Deployment</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-3054</link>
		<dc:creator>Rails Deployment &#187; Blog Archive &#187; Dreamhost Deployment</dc:creator>
		<pubDate>Thu, 15 Feb 2007 21:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-3054</guid>
		<description>[...] Deploying Rails with Edge and Engines to Dreamhost using Capistrano [...]</description>
		<content:encoded><![CDATA[<p>[...] Deploying Rails with Edge and Engines to Dreamhost using Capistrano [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bacterium coli e</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-2482</link>
		<dc:creator>bacterium coli e</dc:creator>
		<pubDate>Sat, 03 Feb 2007 10:58:07 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-2482</guid>
		<description>&lt;strong&gt;bacterium coli e...&lt;/strong&gt;

SomegifttoME 264383 bacterium coli e foundation...</description>
		<content:encoded><![CDATA[<p><strong>bacterium coli e&#8230;</strong></p>
<p>SomegifttoME 264383 bacterium coli e foundation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-607</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 25 Oct 2006 17:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-607</guid>
		<description>I tried to follow your tutorial, however, when I deploy, Capistrano apparently cannot find my subversion repository.  Here is the error it throws ( starred out the domain and passwords:

C:\Development\example&#62;rake deploy
(in C:/Development/example)
    loading configuration c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/recipes/standard.rb
    loading configuration ./config/deploy.rb
  * executing task deploy
 ** transaction: start
  * executing task update_code
  * querying latest revision...
c:/ruby/bin/rake: No such file or directory - svn log -q -rhead http://svn.**********.org/example/0.1
*** [update_code] transaction: rollback
  * [update_code] rolling back
  * executing "rm -rf example.theharrelsons.org/releases/20061025151815"
    servers: ["example.theharrelsons.org"]
Password: *******

    [example.theharrelsons.org] executing command
    command finished
rake aborted!
private method `scan' called for nil:NilClass

(See full trace by running task with --trace)

Here is an exerpt from my deploy.rb file:

set :repository, "http://svn.**********.org/example/0.1"

Why can Capistrano not find the svn repos?</description>
		<content:encoded><![CDATA[<p>I tried to follow your tutorial, however, when I deploy, Capistrano apparently cannot find my subversion repository.  Here is the error it throws ( starred out the domain and passwords:</p>
<p>C:\Development\example&gt;rake deploy<br />
(in C:/Development/example)<br />
    loading configuration c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca<br />
pistrano/recipes/standard.rb<br />
    loading configuration ./config/deploy.rb<br />
  * executing task deploy<br />
 ** transaction: start<br />
  * executing task update_code<br />
  * querying latest revision&#8230;<br />
c:/ruby/bin/rake: No such file or directory - svn log -q -rhead <a href="http://svn" rel="nofollow">http://svn</a>.**********.org/example/0.1<br />
*** [update_code] transaction: rollback<br />
  * [update_code] rolling back<br />
  * executing &#8220;rm -rf example.theharrelsons.org/releases/20061025151815&#8243;<br />
    servers: ["example.theharrelsons.org"]<br />
Password: *******</p>
<p>    [example.theharrelsons.org] executing command<br />
    command finished<br />
rake aborted!<br />
private method `scan&#8217; called for nil:NilClass</p>
<p>(See full trace by running task with &#8211;trace)</p>
<p>Here is an exerpt from my deploy.rb file:</p>
<p>set :repository, &#8220;http://svn.**********.org/example/0.1&#8243;</p>
<p>Why can Capistrano not find the svn repos?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-390</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Sat, 23 Sep 2006 11:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-390</guid>
		<description>Hi Bruno,

Sorry about my late reply, your question seems to have stuck in my moderation inbox for some reason.

I don't know that particular error, but looking at the code in Capistrano &lt;a href="http://dev.rubyonrails.org/browser/tools/capistrano/lib/capistrano/scm/subversion.rb?rev=4828" rel="nofollow"&gt;here&lt;/a&gt;, I think this &lt;i&gt;could&lt;/i&gt; mean that it can't locate you repository at all, since getting the latest revision is the first thing it attempts to do.

The trunk thing shouldn't make any difference, as long as you are pointing to the correct path in &lt;code&gt;deploy.rb&lt;/code&gt;, trunk or no trunk.</description>
		<content:encoded><![CDATA[<p>Hi Bruno,</p>
<p>Sorry about my late reply, your question seems to have stuck in my moderation inbox for some reason.</p>
<p>I don&#8217;t know that particular error, but looking at the code in Capistrano <a href="http://dev.rubyonrails.org/browser/tools/capistrano/lib/capistrano/scm/subversion.rb?rev=4828" rel="nofollow">here</a>, I think this <i>could</i> mean that it can&#8217;t locate you repository at all, since getting the latest revision is the first thing it attempts to do.</p>
<p>The trunk thing shouldn&#8217;t make any difference, as long as you are pointing to the correct path in <code>deploy.rb</code>, trunk or no trunk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-383</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Mon, 18 Sep 2006 19:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-383</guid>
		<description>I get an error when running cap deploy:

D:/Program Files/ruby/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/scm/subversion.rb:24:in `latest_revision’: Could not determine latest revision (RuntimeError)

Does it matter that my source is under:
http://svn.blablabl.com/share/projectname

and not

http://svn.blablabl.com/share/projectname/trunk</description>
		<content:encoded><![CDATA[<p>I get an error when running cap deploy:</p>
<p>D:/Program Files/ruby/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/scm/subversion.rb:24:in `latest_revision’: Could not determine latest revision (RuntimeError)</p>
<p>Does it matter that my source is under:<br />
<a href="http://svn.blablabl.com/share/projectname" rel="nofollow">http://svn.blablabl.com/share/projectname</a></p>
<p>and not</p>
<p><a href="http://svn.blablabl.com/share/projectname/trunk" rel="nofollow">http://svn.blablabl.com/share/projectname/trunk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qrail</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-203</link>
		<dc:creator>qrail</dc:creator>
		<pubDate>Wed, 02 Aug 2006 22:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-203</guid>
		<description>Thanks, I left out "current" in the path :) doh!</description>
		<content:encoded><![CDATA[<p>Thanks, I left out &#8220;current&#8221; in the path :) doh!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-180</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Mon, 31 Jul 2006 08:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-180</guid>
		<description>Take a closer look at step 2 and 3 in the section titled "In a perfect world". It sounds to me like you are pointing the domain to /public, instead of /current/public. This is an important difference between deploying with and without Capistrano. If the Rails application resides in the current directory, you have deployed successfully, but are just pointing the web server to the wrong directory.</description>
		<content:encoded><![CDATA[<p>Take a closer look at step 2 and 3 in the section titled &#8220;In a perfect world&#8221;. It sounds to me like you are pointing the domain to /public, instead of /current/public. This is an important difference between deploying with and without Capistrano. If the Rails application resides in the current directory, you have deployed successfully, but are just pointing the web server to the wrong directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qrail</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-176</link>
		<dc:creator>qrail</dc:creator>
		<pubDate>Mon, 31 Jul 2006 00:58:12 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-176</guid>
		<description>So the application has been deployed correctly ? I.e. 

When I hit mydomain.com I get a directory listing in the browser i.e. "Index of /" with nothing

On closer examination on the server in mydomain I see the following:

current public releases revisions.log shared 

with the public directory being empty.

I'm a bit confused as to what's happened &#38; where the process is failing. 


Cheers</description>
		<content:encoded><![CDATA[<p>So the application has been deployed correctly ? I.e. </p>
<p>When I hit mydomain.com I get a directory listing in the browser i.e. &#8220;Index of /&#8221; with nothing</p>
<p>On closer examination on the server in mydomain I see the following:</p>
<p>current public releases revisions.log shared </p>
<p>with the public directory being empty.</p>
<p>I&#8217;m a bit confused as to what&#8217;s happened &amp; where the process is failing. </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casper Fabricius</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-174</link>
		<dc:creator>Casper Fabricius</dc:creator>
		<pubDate>Sun, 30 Jul 2006 21:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-174</guid>
		<description>Hi qrail, and thanks. The deploy script shouldn't really abort on not being able to find a dispatch.fcgi process to kill. The script is not trying to start dispatch.fcgi, it's trying to kill in order to force a restart, so all cached stuff is flushed after the release. When there is not dispatch.fcgi to kill, it just means that no one has hit your Rails application for a while, and thus; there is nothing to kill. So, it's not a critical problem in any way.

There is absolutely no problem in running the Capistrano script against a subdomain. That's what I do myself for all my projects, I've just replaced it with mydomain.com in the examples to make it look nicer.

Good luck with your deployment!</description>
		<content:encoded><![CDATA[<p>Hi qrail, and thanks. The deploy script shouldn&#8217;t really abort on not being able to find a dispatch.fcgi process to kill. The script is not trying to start dispatch.fcgi, it&#8217;s trying to kill in order to force a restart, so all cached stuff is flushed after the release. When there is not dispatch.fcgi to kill, it just means that no one has hit your Rails application for a while, and thus; there is nothing to kill. So, it&#8217;s not a critical problem in any way.</p>
<p>There is absolutely no problem in running the Capistrano script against a subdomain. That&#8217;s what I do myself for all my projects, I&#8217;ve just replaced it with mydomain.com in the examples to make it look nicer.</p>
<p>Good luck with your deployment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qrail</title>
		<link>http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-166</link>
		<dc:creator>qrail</dc:creator>
		<pubDate>Sat, 29 Jul 2006 14:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://casperfabricius.com/blog/2006/05/21/rails-on-dreamhost/#comment-166</guid>
		<description>Great work on the capistrano deploy process .... 

I almost have it working but I'm getting the following, I'm really stuck on this &#38; have no idea on how to fix it. When the deploy script tries to launch dispatch.fcgi the script throws the following error: 

Couldn't find any process matching: dispatch.fcgi

The domain is actually a subdomain could that be causing the problem?



  * executing "chmod a+x /home/myuser/mydomain.com/current/public/
dispatch.fcgi"
    servers: ["passes.qhcconsulting.com"]
    [passes.qhcconsulting.com] executing command
    command finished
 ** transaction: commit
  * executing task restart
  * executing "ruby /home/myuser/mydomain.com/current/script/proce
ss/reaper --dispatcher=dispatch.fcgi"
    servers: ["mydomain.com"]
    [mydomain.com] executing command
 ** [out :: mydomain.com] Couldn't find any process matching: dispatch.fcgi
    command finished</description>
		<content:encoded><![CDATA[<p>Great work on the capistrano deploy process &#8230;. </p>
<p>I almost have it working but I&#8217;m getting the following, I&#8217;m really stuck on this &amp; have no idea on how to fix it. When the deploy script tries to launch dispatch.fcgi the script throws the following error: </p>
<p>Couldn&#8217;t find any process matching: dispatch.fcgi</p>
<p>The domain is actually a subdomain could that be causing the problem?</p>
<p>  * executing &#8220;chmod a+x /home/myuser/mydomain.com/current/public/<br />
dispatch.fcgi&#8221;<br />
    servers: ["passes.qhcconsulting.com"]<br />
    [passes.qhcconsulting.com] executing command<br />
    command finished<br />
 ** transaction: commit<br />
  * executing task restart<br />
  * executing &#8220;ruby /home/myuser/mydomain.com/current/script/proce<br />
ss/reaper &#8211;dispatcher=dispatch.fcgi&#8221;<br />
    servers: ["mydomain.com"]<br />
    [mydomain.com] executing command<br />
 ** [out :: mydomain.com] Couldn&#8217;t find any process matching: dispatch.fcgi<br />
    command finished</p>
]]></content:encoded>
	</item>
</channel>
</rss>
