<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">15202</assigned-user-id>
  <attachments-count type="integer">0</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-02-16T03:20:48+00:00</created-at>
  <creator-id type="integer">47539</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">74</number>
  <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
  <priority type="integer">110</priority>
  <project-id type="integer">8716</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>closed</state>
  <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
  <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
  <updated-at type="datetime">2009-03-05T02:50:52+00:00</updated-at>
  <user-id type="integer">47539</user-id>
  <user-name>Albert Vernon</user-name>
  <creator-name>Albert Vernon</creator-name>
  <assigned-user-name>Jamis Buck</assigned-user-name>
  <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
  <original-body>Repro steps:
* @@@ cap deploy:stop @@@ in the root directory of a Rails 2.3 project that has been deployed using Capistrano.

Observed behavior:
&lt;code&gt;
executing &quot;sudo -p 'sudo password: ' /u/apps/example/current/script/process/reaper -a kill&quot;
    servers: [&quot;example.com&quot;]
    [example.com] executing command
*** [err :: example.com] sudo: /u/apps/example/current/script/process/reaper: command not found
&lt;/code&gt;

Expected behavior:
* Capistrano documentation should say that irs_process_scripts plugin is required for Rails 2.3 or later.
* Give a warning message saying the same thing if cap deploy fails due to command not found.</original-body>
  <latest-body>Repro steps:
* @@@ cap deploy:stop @@@ in the root directory of a Rails 2.3 project that has been deployed using Capistrano.

Observed behavior:
&lt;code&gt;
executing &quot;sudo -p 'sudo password: ' /u/apps/example/current/script/process/reaper -a kill&quot;
    servers: [&quot;example.com&quot;]
    [example.com] executing command
*** [err :: example.com] sudo: /u/apps/example/current/script/process/reaper: command not found
&lt;/code&gt;

Expected behavior:
* Capistrano documentation should say that irs_process_scripts plugin is required for Rails 2.3 or later.
* Give a warning message saying the same thing if cap deploy fails due to command not found.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;Repro steps: * @@@ cap deploy:stop @@@ in the root directory of
a Rails 2.3 project that has been deployed using Capistrano.&lt;/p&gt;
&lt;p&gt;Observed behavior:&lt;/p&gt;
&lt;p&gt;executing &quot;sudo -p 'sudo password: '
/u/apps/example/current/script/process/reaper -a kill&quot;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;servers: [&quot;example.com&quot;]
[example.com] executing command
&lt;/code&gt;
&lt;/pre&gt;
&lt;p&gt;*** [err :: example.com] sudo:
/u/apps/example/current/script/process/reaper: command not
found&lt;/p&gt;
&lt;p&gt;Expected behavior: * Capistrano documentation should say that
irs_process_scripts plugin is required for Rails 2.3 or later. *
Give a warning message saying the same thing if cap deploy fails
due to command not found.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body># Repro steps:

* `cap deploy:stop` in the root directory of a Rails 2.3 project that has been deployed using Capistrano.

# Observed behavior:

&lt;code&gt;
executing &quot;sudo -p 'sudo password: ' /u/apps/example/current/script/process/reaper -a kill&quot;
    servers: [&quot;example.com&quot;]
    [example.com] executing command
    [err :: example.com] sudo: /u/apps/example/current/script/process/reaper: command not found
&lt;/code&gt;

# Expected behavior:

* Capistrano documentation should say that irs_process_scripts plugin is required for Rails 2.3 or later.
* Give a warning message saying the same thing if cap deploy fails due to command not found.</body>
      <body-html>&lt;div&gt;&lt;h1&gt;Repro steps:&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cap deploy:stop&lt;/code&gt; in the root directory of a Rails
2.3 project that has been deployed using Capistrano.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1&gt;Observed behavior:&lt;/h1&gt;
&lt;p&gt;&lt;code&gt;executing &quot;sudo -p 'sudo password: '
/u/apps/example/current/script/process/reaper -a kill&quot;&lt;/code&gt;&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;servers: [&quot;example.com&quot;]
[example.com] executing command
[err :: example.com] sudo: /u/apps/example/current/script/process/reaper: command not found
&lt;/code&gt;
&lt;/pre&gt;
&lt;h1&gt;Expected behavior:&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Capistrano documentation should say that irs_process_scripts
plugin is required for Rails 2.3 or later.&lt;/li&gt;
&lt;li&gt;Give a warning message saying the same thing if cap deploy
fails due to command not found.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-16T03:20:48+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-16T03:39:17+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Please feel free to apply for a wiki account at http://wiki.capify.org and start building out a page for documenting this. As for giving a warning message on deploy if command-not-found, I'd consider a patch for this, but I suspect any implementer will find it not nearly as straightforward as it sounds.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Please feel free to apply for a wiki account at &lt;a href=&quot;http://wiki.capify.org&quot;&gt;http://wiki.capify.org&lt;/a&gt; and start
building out a page for documenting this. As for giving a warning
message on deploy if command-not-found, I'd consider a patch for
this, but I suspect any implementer will find it not nearly as
straightforward as it sounds.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-16T03:42:57+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-16T03:42:57+00:00</updated-at>
      <user-id type="integer">15202</user-id>
      <user-name>Jamis Buck</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Per your insructions, I have submitted an account request at the Capify wiki.  In the meantime, here is the documention update you requested:

On http://capify.org/getting-started/rails, under &quot;Enabling Capistrano&quot;, there should be an additional paragraph that reads as follows:

NOTE:  If your project uses Rails 2.3 or later, you must install the irs_process_scripts plugin in order for Capistrano to deploy the project.  To do so, run the following command from your project's root directory:

./script/plugin install git://github.com/rails/irs_process_scripts.git</body>
      <body-html>&lt;div&gt;&lt;p&gt;Per your insructions, I have submitted an account request at the
Capify wiki. In the meantime, here is the documention update you
requested:&lt;/p&gt;
&lt;p&gt;On &lt;a href=&quot;http://capify.org/getting-started/rails&quot;&gt;http://capify.org/getting-starte...&lt;/a&gt;,
under &quot;Enabling Capistrano&quot;, there should be an additional
paragraph that reads as follows:&lt;/p&gt;
&lt;p&gt;NOTE: If your project uses Rails 2.3 or later, you must install
the irs_process_scripts plugin in order for Capistrano to deploy
the project. To do so, run the following command from your
project's root directory:&lt;/p&gt;
&lt;p&gt;./script/plugin install
git://github.com/rails/irs_process_scripts.git&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-19T02:58:09+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-19T02:58:15+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Sorry, I'm still getting used to Lighthouse's formatting.  It is hard to see, but there is a dot at the beginning of that command line.

`./script/plugin install git://github.com/rails/irs_process_scripts.git`</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sorry, I'm still getting used to Lighthouse's formatting. It is
hard to see, but there is a dot at the beginning of that command
line.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;./script/plugin install
git://github.com/rails/irs_process_scripts.git&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-19T03:01:02+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-19T03:01:05+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>As a refinement, perhaps deploy:check can call `script/about` to determine the remote Rails version, and then give a dependency failure if `vendor/plugins/irs_process_scripts` does not exist remotely and remote Rails is 2.3 or later.</body>
      <body-html>&lt;div&gt;&lt;p&gt;As a refinement, perhaps deploy:check can call
&lt;code&gt;script/about&lt;/code&gt; to determine the remote Rails version,
and then give a dependency failure if
&lt;code&gt;vendor/plugins/irs_process_scripts&lt;/code&gt; does not exist
remotely and remote Rails is 2.3 or later.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-19T03:19:38+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-19T03:19:40+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I created a documenation page on the Wiki as you requested:

http://wiki.capify.org/article/How_to_use_Capistrano_with_Rails_2.3</body>
      <body-html>&lt;div&gt;&lt;p&gt;I created a documenation page on the Wiki as you requested:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://wiki.capify.org/article/How_to_use_Capistrano_with_Rails_2.3&quot;&gt;
http://wiki.capify.org/article/H...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T02:28:22+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>new</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-02-26T02:28:24+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>Thanks Albert,

Looks good - we can work this in more cleanly in future... would you prefer this to be fixed, or are you happy for it to be documented.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thanks Albert,&lt;/p&gt;
&lt;p&gt;Looks good - we can work this in more cleanly in future... would
you prefer this to be fixed, or are you happy for it to be
documented.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-04T00:59:57+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>closed</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-03-04T01:00:01+00:00</updated-at>
      <user-id type="integer">1379</user-id>
      <user-name>Lee Hambley</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">15202</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>I just wanted it to be documented for other people who might run into a problem once Rails 2.3 comes out.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I just wanted it to be documented for other people who might run
into a problem once Rails 2.3 comes out.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-05T02:50:48+00:00</created-at>
      <creator-id type="integer">47539</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">74</number>
      <permalink>cap-deploy-fails-with-rails-23-unless-irs_process_scripts-installed</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8716</project-id>
      <state>closed</state>
      <tag>2.3 2.3.0 cap deploy process rails reaper spawner</tag>
      <title>cap deploy fails with Rails 2.3 unless irs_process_scripts installed</title>
      <updated-at type="datetime">2009-03-05T02:50:52+00:00</updated-at>
      <user-id type="integer">47539</user-id>
      <user-name>Albert Vernon</user-name>
      <creator-name>Albert Vernon</creator-name>
      <assigned-user-name>Jamis Buck</assigned-user-name>
      <url>http://capistrano.lighthouseapp.com/projects/8716/tickets/74</url>
    </version>
  </versions>
</ticket>
