fixed deploy.rb for cap