<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -64,12 +64,15 @@ module Moonshine::Manifest::Rails::Rails
       :owner    =&gt; configuration[:user],
       :group    =&gt; configuration[:group] || configuration[:user],
       :mode     =&gt; '775',
-      :content  =&gt; ' '
+      :content  =&gt; ' ',
+      :backup   =&gt; false,
+      :loglevel =&gt; :debug
     exec 'rake tasks',
-      :command =&gt; 'rake environment &gt;&gt; /var/log/moonshine_rake.log 2&gt;&amp;1',
+      :command =&gt; 'rake environment 2&gt;&amp;1 | tee -a /var/log/moonshine_rake.log',
       :user =&gt; configuration[:user],
       :cwd =&gt; rails_root,
       :environment =&gt; &quot;RAILS_ENV=#{ENV['RAILS_ENV']}&quot;,
+      :logoutput =&gt; true,
       :require =&gt; [
         exec('rails_gems'),
         package('rake'),
@@ -226,11 +229,13 @@ private
   # app, with RAILS_ENV properly set
   def rake(name, options = {})
     exec(&quot;rake #{name}&quot;, {
-      :command =&gt; &quot;rake #{name} &gt;&gt; /var/log/moonshine_rake.log 2&gt;&amp;1&quot;,
+      :command =&gt; &quot;rake #{name} 2&gt;&amp;1 | tee -a /var/log/moonshine_rake.log&quot;,
       :user =&gt; configuration[:user],
       :cwd =&gt; rails_root,
       :environment =&gt; &quot;RAILS_ENV=#{ENV['RAILS_ENV']}&quot;,
-      :require =&gt; exec('rake tasks')
+      :require =&gt; exec('rake tasks'),
+      :logoutput =&gt; true,
+      :timeout =&gt; -1
     }.merge(options)
   )
   end</diff>
      <filename>lib/moonshine/manifest/rails/rails.rb</filename>
    </modified>
    <modified>
      <diff>@@ -48,11 +48,7 @@ namespace :moonshine do
 
   desc 'Apply the Moonshine manifest for this application'
   task :apply do
-    on_rollback do
-      run &quot;cd #{latest_release} &amp;&amp; RAILS_ENV=#{fetch(:rails_env, 'production')} rake --trace environment&quot;
-    end
     sudo &quot;RAILS_ROOT=#{latest_release} DEPLOY_STAGE=#{ENV['DEPLOY_STAGE']||fetch(:stage,'undefined')} RAILS_ENV=#{fetch(:rails_env, 'production')} shadow_puppet #{latest_release}/app/manifests/#{fetch(:moonshine_manifest, 'application_manifest')}.rb&quot;
-    sudo &quot;touch /var/log/moonshine_rake.log &amp;&amp; cat /var/log/moonshine_rake.log&quot;
   end
 
   desc &quot;Update code and then run a console. Useful for debugging deployment.&quot;</diff>
      <filename>recipes/moonshine_cap.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3de25ade6a99d82d11cd99302fc8d1ac84f4fdea</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/railsmachine/moonshine/commit/a55eaae4ab4dac7a411929e0cea036c5da648e8f</url>
  <id>a55eaae4ab4dac7a411929e0cea036c5da648e8f</id>
  <committed-date>2009-11-02T18:43:23-08:00</committed-date>
  <authored-date>2009-11-02T18:43:23-08:00</authored-date>
  <message>remove timeout and display output for all rake tasks</message>
  <tree>63e464afc02375fe0bdf808358aa5d364d7e8435</tree>
  <committer>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </committer>
</commit>
