Some times while dealing with load balanced server we require to manage assets across servers, need to transfer data between load balanced
servers, workout with some gems and plugins finally found solution.
Following code snipts gives you brief on process.
Net::SCP.start(@host, @host_user, :password => @password) do |scp|
scp.upload! source, dest, :recursive => true
stay connected ! RoR rules ……