Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git aws.push command not created by eb init

I was following the tutorial on how to deploy a Ruby on Rails application on AWS and got the following error when trying to execute the git aws.push command:

fatal: cannot exec 'git-aws.push': Not a directory

According to this tutorial the eb init was supposed to have created this new git command for me, but apparently it did not... Has someone stumbled upon this problem? How can I fix this?

I am using Mac OS Lion.

Thanks

like image 368
Renan Avatar asked Nov 26 '12 22:11

Renan


2 Answers

I was running into the same issue and there seems to be a small issue currently with the installer of the tools working on a non bash implementation.

Here's the fix (as relayed to me via Amazon) use the command:

 $ bash path/to/AWS-ElasticBeanstalk-CLI-2.3/AWSDevTools/Linux/AWSDevTools-RepositorySetup.sh

bash here replaces sh which was shown in the tutorial(s) and it then worked for me

like image 52
pquery Avatar answered Nov 03 '22 16:11

pquery


I have used tips from this question to solve my problem. Check if there is no folder to which you don't have the necessary permissions or files in your PATH.

like image 24
Renan Avatar answered Nov 03 '22 15:11

Renan