on-internet
← Community

fatal: could not read Username for 'https://github.com ': No such device or address - rubyonrails - aws

Stack Overflow ·

I have a rubyonrails website which function in such a way that when a user signup with his username it create a repo in that username in my github account. It is working flawlessly in heroku. When I switched to amazon web service I initially get intializing git sh: git: command not found sh: line 0: cd: /home/webapp: No such file or directory I overcome this error by adding a config file in .ebextensions like commands: 01_mkdir_webapp_dir: # use the test directive to create the directory # if the mkdir command fails the rest of this directive is ignored test: 'mkdir /home/webapp' command: 'ls

Comments

Sign in or sign up to comment and upvote.

No comments yet.