1

I'm trying to use php git deploy for AWS Beanstalk

I got python, ruby etc installed. I setup the repository, did a git aws.config which went well. Then whenever I try to run git aws.push I get this error.

./.git/AWSDevTools/aws/dev_tools.rb:53:in `host': private method `split' called for    nil:NilClass (NoMethodError)
        from ./.git/AWSDevTools/aws/dev_tools.rb:112:in `signed_uri'
        from .git/AWSDevTools/aws.elasticbeanstalk.push:86

Don't know much about ruby, but from what I gather it looks like it's missing a dependency maybe? I guess I'm not sure what's wrong, any help would really be appreciated.

4

2 回答 2

2

我遇到了同样的问题,我将其跟踪到丢失的 appRoot/.elasticbeanstalk/config 文件。

我添加了具有以下内容的文件。注意:在适当的地方替换您的实际应用程序/环境。

.elasticbeanstalk/配置 >>

[global]
ApplicationName=your-application-name-east
DevToolsEndpoint=git.elasticbeanstalk.us-east-1.amazonaws.com
EnvironmentName=your-environment-name
Region=us-east-1
于 2013-10-03T15:20:23.147 回答
0

好的,所以我对源文件进行了一些挖掘。结果发现配置文件中存在权限问题,因此它正在创建一个空类,因此您不能对空值进行字符串拆分。

于 2013-09-11T22:21:17.460 回答