git aws.push command not created by eb init
Asked Answered
C

4

7

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

Consolidate answered 26/11, 2012 at 22:20 Comment(1)
I have checked my .git/config file, and guess all the aliases are there...Consolidate
C
1

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.

Consolidate answered 27/11, 2012 at 11:36 Comment(0)
C
21

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

Cassity answered 28/12, 2012 at 14:45 Comment(1)
After this, in some cases, you might get an error "Module BOTO doesn't exist". Then, use "sudo pip install boto".Bereave
C
1

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.

Consolidate answered 27/11, 2012 at 11:36 Comment(0)
C
0
export PATH=$PATH:<path to unzipped EB CLI package>/eb/linux/python2.7/ 
Cumbersome answered 21/10, 2013 at 22:33 Comment(1)
this is standard procedures for eb setup, without this eb will not be found.Conduce
F
0

In Windows, make sure you have run:

AWSDevTools-OneTimeSetup.bat

AND

AWSDevTools-RepositorySetup.bat

These batch files setup the git interaction with EB and the AWS CLI.

Frig answered 26/10, 2014 at 21:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.