added ruby version check and some template tweaking
compatible with ruby>=1.9.3
fixed bug with duplicate depends=() and empty depends=()
Merge pull request #1 from BlackArch/master

Fixes
Merge pull request #4 from codemunchies/master

Fixes