<br><tt><font size=2>> I am having a hard time figuring out how to call
a capistrano task.</font></tt>
<br><tt><font size=2>Writing something like this in your Rakefile (or ./lib/tasks/)
should put you on the right track:</font></tt>
<br>
<br><tt><font size=2>#untested</font></tt>
<br><tt><font size=2>task :deploy do</font></tt>
<br><tt><font size=2> system 'cap deploy' or raise "Capistrano
deployment failed"</font></tt>
<br><tt><font size=2>end</font></tt>
<br>
<br><tt><font size=2>Then just add :deploy to the list of dependencies
for your :cruise task.</font></tt>
<br>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Alex Verkhovsky</font></tt>