RailsCasts Pro episodes are now free!

Learn more or hide this

Don Cruse's Profile

GitHub User: doncruse

Site: http://twitter.com/doncruse

Comments by Don Cruse

Avatar

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:

  1. At each place where it says "roles: :{role}", you need instead ":roles => :{role}".

  2. 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 }".