diff --git a/scripts/env-setup.sh b/scripts/env-setup.sh index b5c1ce968..7ef9a9840 100755 --- a/scripts/env-setup.sh +++ b/scripts/env-setup.sh @@ -9,6 +9,9 @@ ANSIBLE_GIT_URL=${ANSIBLE_GIT_URL:-https://github.com/ansible/ansible.git} ANSIBLE_GIT_BRANCH=${ANSIBLE_GIT_BRANCH:-stable-1.9} if [ -x '/usr/bin/apt-get' ]; then + if ! $(gcc -v &>/dev/null); then + sudo -H apt-get -y install gcc + fi if ! $(git --version &>/dev/null) ; then sudo -H apt-get -y install git fi