Hi Capistrano devs.
Thanks for your work! Capistrano is a great tool.
I experience a problem with upload. I created a simple task to upload
a library:
namespace :mapscript do
task :default, :roles => :app do
invoke_command "mkdir -p #{shared_path}/lib"
put File.read("lib/mapscript.so"), "#{shared_path}/lib/
mapscript.so"
end
end
Cap hangs after upload is started (deploying to a single server):
* executing `mapscript'
* executing "mkdir -p /home/roziv/shared/lib"
servers: ["..."]
Password:
[...] executing command
command finished
servers: ["..."]
* uploading /home/roziv/shared/lib/mapscript.so
** uploading data to ...:/home/roziv/shared/lib/mapscript.so
Directory is successfully created and I see mapscript.so with 0 size.
If I comment the first command (i.e. invoke_command) upload goes fine.
I did strace on ruby process and it seems to be running in infinite
loop.
Please ask if you need more info or help.
Regards,
Dmitry
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---