弹性魔豆未能更新本地Git的配置 - 视窗 [英] Elastic Beanstalk failed to update local Git configuration - Windows
本文介绍了弹性魔豆未能更新本地Git的配置 - 视窗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
> eb init
(Answered all questions)
Failed to update local Git configuration. Follow the instructions at "http://doc
s.amazonwebservices.com/elasticbeanstalk/latest/dg/command-reference-get-started
.html" to set up your Git repository, and then try again.
local variable 'fullpath' referenced before assignment
- 在我的平台是Windows。
- 在我跟从的http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_flask.html
- 的Git(GIT-SCM)的作品在命令行。
- GIT_SSH路径被设置为
C:\ Program Files文件(x86)的\腻子\ plink.exe
- My platform is Windows.
- I have followed all the instructions from http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Python_flask.html
- Git (git-scm) works from the command line.
- GIT_SSH path has been set to
C:\Program Files (x86)\PuTTY\plink.exe
- <一个href="http://stackoverflow.com/questions/14246615/elastic-beanstalk-failed-to-update-local-git-configuration">Elastic魔豆未能更新本地的Git配置
- <一个href="http://stackoverflow.com/questions/14289271/im-trying-to-set-up-ruby-on-rails-git-deployment-to-aws-elastic-beanstalk-eb">I'm试图建立Ruby on Rails的混帐部署AWS弹性魔豆; &QUOT; EB INIT&QUOT;失败
- Elastic Beanstalk failed to update local Git configuration
- I'm trying to set up ruby on rails git deployment to AWS Elastic Beanstalk; "eb init" failing
我已经看了看另外两个问题是相似的,但他们并没有帮助,
I have looked at two other questions which are similar but they haven't helped,
推荐答案
您必须设置PATH的 EB 的位置。如下所示:
You must set your PATH to the location of eb. like the following :
C:\> set PATH=%PATH%;<path_to_unzipped_EB_CLI_package>\eb\windows\
对于我来说,我把 AWS样品code和;图书馆在我的C盘的文件夹,所以上面的链接必须是
for me , I put the AWS Sample Code & Libraries folder on my C drive , So the link above must be
C:\AWS-ElasticBeanstalk-CLI-2.5.1\eb\windows\
请确保您拥有所有的 AWS-ElasticBeanstalk-CLI-2.5.1 文件夹的内容; EB 和 API 文件夹
Make sure that you have all the AWS-ElasticBeanstalk-CLI-2.5.1 folder contents; eb and api folders
这篇关于弹性魔豆未能更新本地Git的配置 - 视窗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文