Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run aws.push for local repository head

I'm trying to deploy a Ruby project (redmine) on an Elastic Beanstalk server using the Elastic Beanstalk Command Line Interface, but when I try to launch the environment i get the following error:

$ eb start
Starting application "redmine".
Would you like to deploy the latest Git commit to your environment? [y/n]: y
Cannot run aws.push for local repository HEAD:

And thats all that is printed out. As a reference, I was following the instructions here: http://ruby.awsblog.com/post/Tx2AK2MFX0QHRIO/Deploying-Ruby-Applications-to-AWS-Elastic-Beanstalk-with-Git

like image 488
wesley.ireland Avatar asked May 22 '13 19:05

wesley.ireland


Video Answer


2 Answers

I got the same error, so I hit "n" and let the environment start without deploying any code. After it was Green, I used aws.push to deploy my code and it worked fine.

like image 150
readyornot Avatar answered Oct 09 '22 13:10

readyornot


I got this error because I had no Ruby installed on my local machine. Did you satisfy all requirements?

like image 2
Alex Avatar answered Oct 09 '22 14:10

Alex