lundi 6 juillet 2015

Configure git in Elastic beanstalk before running bundle install task

I am using elastic beanstalk. My application using gems from Github. When I deploy application via EB CLI, I see error on bundle install.

In My local machine I have .ebextension directory in application root which has ruby.config file with instruction to install git

packages:
  yum:
    git: []
    openssl-devel: []
    expat-devel: []
    gettext-devel: []
    zlib-devel: []

In the eb-activitiy.log shows that, bundle install running first which requires git to be install on the system.

How can I run install git before running bundle install?




Aucun commentaire:

Enregistrer un commentaire