Split is a string method not an Array method in 1.9.3 nor ruby 2.0
How are you setting the branch to be deployed?
How are you setting the repo for git?
What version of git are you running locally?
> On Nov 29, 2013, at 1:24 PM, byrnejb wrote:
>
> Arch = i86_64
> OS = CentOS-6.4 (RHEL6)
> Ruby
Let me flip it around on you; what's the point of running the command on all
the servers inside the block if it's not targeted to the individual server? If
it's to gather a value use the capture helper before the block.
Reminds me of the old joke
Patient: Dr Dr it hurts when I do this
Dr:
Arch = i86_64
OS = CentOS-6.4 (RHEL6)
Ruby = v.2.0.0.p353
Rails = 4.0.1
Capistrano 2.15.5
We are trying to deploy a complex recipe which was last used this past
January and worked then without error. At that time we were using
Ruby-1.9.3 and RoR-3.2.8. We have updated our application to Ruby-2.
On Friday, November 29, 2013 6:31:50 PM UTC+5:30, dbray wrote:
>
> The thing you are missing is you have to restrict the inner commands to
> the channels server; else cap is going to run your inner commands on all of
> the tasks servers again.
>
> run "sleep 0.1", :pty => true, :hosts => [chan
Sorry I keep noticing different things your role definition is incorrect
Either do
hosts.each do |ip|
server ip, :app
end
Or more simply
role :app, hosts
As the role helper accepts an array directly
> On Nov 29, 2013, at 3:17 AM, Varun Shankar wrote:
>
> hosts.each do |ip|
> role :a
The thing you are missing is you have to restrict the inner commands to the
channels server; else cap is going to run your inner commands on all of the
tasks servers again.
run "sleep 0.1", :pty => true, :hosts => [channel[:server]]
> On Nov 29, 2013, at 3:17 AM, Varun Shankar wrote:
>
> run