Ryan wrote this deploy.rb file with Ruby 1.9 syntax for hashes, and you appear to be using Ruby 1.8. I was also using Ruby 1.8. Here's how I fixed it:
At each place where it says "roles: :{role}", you need instead ":roles => :{role}".
The same is true for that "except: {no_release: true}" formulation, which needs you to add two hash arrows. It should become ":except => { :no_release => true }".
Ryan wrote this deploy.rb file with Ruby 1.9 syntax for hashes, and you appear to be using Ruby 1.8. I was also using Ruby 1.8. Here's how I fixed it:
At each place where it says "roles: :{role}", you need instead ":roles => :{role}".
The same is true for that "except: {no_release: true}" formulation, which needs you to add two hash arrows. It should become ":except => { :no_release => true }".