Install HAProxy for Amazon Linux from OpsWorks S3 bucket.
Install ruby package only if not already installed.
fix deployment directorie's group to allow access to nginx and apache webservers on amazon linux
symlink_before_migrate should be calles with parenthesis because of interpretation problems, in case the node object delievers an empty hash.
use link_tempfiles_to_current_release instead of run_symlinks_before_migrate in before_migrate, to create missing directories before trying to create symlinks
break long lines into readable well intended ones and stay consistent to indentation rules
use absolute path whenever calling bundler, to always point to the user space installation
update ruby 1.9.3 patch level to p392
fix missing condition for installation of ruby packages