When I deploy my ruby app on aws using elastic beanstalk. Following error occur. pass log

App 20278 stdout: intializing git
App 20278 stderr: error: could not lock config file /home/webapp/.gitconfig: No such file or directory
App 20278 stderr: sh: line 0: cd: /home/webapp: No such file or directory

eb log

log also says

Please tell me who you are.


  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <webapp@ip-172-31-28-185.us-east-2.compute.internal>) not allowed

Why it is saying "/home/webapp: No such file or directory"

Please tell me how to fix this

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.