move ec2 install git+ruby from setup/early to lib
Merge pull request #467 from anodelman/ec2-config-to-lib

move ec2 install git+ruby from setup/early to lib