On Mar 16, 2007, at 1:15 PM, Encapsulin wrote:
> Hello everybody,
> I'm trying to include capistrano support into RoR application, as
> descripbed in the 2nd version of the Agile Rails book. But after
> invoking the command :
> # rake remote:cold_deploy
>  I've received the message "Capistrano/Rake integration is
> deprecated": ##################################
> rake remote:cold_deploy (in /var/www/ruby/demo) Capistrano/Rake
> integration is deprecated. Please invoke the 'cap' command directly:
> `cap cold_deploy' * executing task cold_deploy * executing task update
> ** transaction: start * executing task update_code * querying latest
> revision... svn: REPORT request failed on '/svn/demo/!svn/bc/0/trunk'
> svn: '/svn/demo/!svn/bc/0/trunk' path not found
> [update_code] transaction: rollback * [update_code] rolling back *
> executing "rm -rf /var/www/ruby/demo/releases/20070315145548" servers:
> ["localhost"] Password: [localhost] executing command command finished
> rake aborted! Could not determine latest revision
> (See full trace by running task with-trace)
> ##################################
> Why capistrano is deprecated? What does it mean? How to fix?
> Thanks in advance.

It just means that the rake tasks for calling capistrano recipes is  
going away.  You can run the same thing directly with capistrano (as  
the error message says).

rake remote:cold_deploy

is just one step removed from:

cap cold_deploy

Less typing, too!

-Rob

Rob Biedenharn		http://agileconsultingllc.com
Rob / AgileConsultingLLC.com