<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2>Greg,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2>I've been very successful creating an executable file named
'build' in the project directory with contents like this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2> RAILS_ENV=test<BR>
rake log:clear<BR> mongrel_rails
cluster::restart<BR> rake test</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2>The email problem looks like your mail server is requiring
an encrypted (SSL/TLS) connection and ActionMailer doesn't support them.
Given that you didn't have this problem with your rails app, I'm guessing that
your CC host is different from your Rails app server and is treated differently
by your mail server.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=405250500-29082007></SPAN> </DIV>
<DIV align=left><FONT face=Arial size=2>Chris Hapgood</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Phone: +1 434 989 8584</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Skype: chris.hapgood</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Email: <A
href="mailto:cch1@hapgoods.com">cch1@hapgoods.com</A></FONT></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
cruisecontrolrb-users-bounces@rubyforge.org
[mailto:cruisecontrolrb-users-bounces@rubyforge.org] <B>On Behalf Of </B>Gregg
Pollack<BR><B>Sent:</B> Tuesday, August 28, 2007 18:03<BR><B>To:</B>
cruisecontrolrb-users@rubyforge.org<BR><B>Subject:</B> [Cruisecontrolrb-users]
Using RSpec & Troubleshooting smtp<BR></FONT><BR></DIV>
<DIV></DIV>Two quick questions, if any of you can help out.<BR><BR>1. What's the
easiest way to tell Cruise Control to run "rake spec" instead of "rake test" at
the end of a build? You'd think this would be easy, but I can't find any
documentation on how to do this. <BR><BR>I know I can create my own cruise task,
but I've tried and failed. Perhaps I need a better example?<BR><BR>2. When I try
to add email notification I get:<BR>
<BR> 454 4.3.3 TLS not available after start at
/usr/lib/ruby/1.8/net/smtp.rb:680:in `check_response' <BR><BR>
I did configure the smtp server to point to localhost, and changed the domain /
from address. My Rails apps run great with these same settings, so I'm not
sure what's going on.<BR><BR>Thanks in advance, <BR><BR>-Gregg<BR></BODY></HTML>