Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Elastic Beanstalk和Github gem部署失败错误_Ruby On Rails_Ruby_Github_<img Src="//i.stack.imgur.com/RUiNP.png" Height="16" Width="18" Alt="" Class="sponsor Tag Img">elasticsearch_Amazon Elastic Beanstalk - Fatal编程技术网 elasticsearch,amazon-elastic-beanstalk,Ruby On Rails,Ruby,Github,elasticsearch,Amazon Elastic Beanstalk" /> elasticsearch,amazon-elastic-beanstalk,Ruby On Rails,Ruby,Github,elasticsearch,Amazon Elastic Beanstalk" />

Ruby on rails Elastic Beanstalk和Github gem部署失败错误

Ruby on rails Elastic Beanstalk和Github gem部署失败错误,ruby-on-rails,ruby,github,elasticsearch,amazon-elastic-beanstalk,Ruby On Rails,Ruby,Github,elasticsearch,Amazon Elastic Beanstalk,我的rails应用程序的Gemfile有一个gem,我正在使用下面的条目从Github获取它 gem 'markable', github: 'chrome/markable' 我在Gemfile中有很多其他的gem,但是如果我删除这一行,它工作得很好,很明显这一行就是问题所在 这是部署输出: $ eb deploy Creating application version archive "899e". Uploading: [################################

我的rails应用程序的Gemfile有一个gem,我正在使用下面的条目从Github获取它

gem 'markable', github: 'chrome/markable'
我在Gemfile中有很多其他的gem,但是如果我删除这一行,它工作得很好,很明显这一行就是问题所在

这是部署输出:

$ eb deploy
Creating application version archive "899e".
Uploading: [##################################################] 100% Done...
INFO: Environment update is starting.                               
INFO: Deploying new version to instance(s).                         
ERROR: [Instance: i-8c21232c] Command failed on instance. Return code: 11 Output: (TRUNCATED)...ps://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
You need to install git to be able to use gems from git repositories. For help
installing git, please refer to GitHub's tutorial at
https://help.github.com/articles/set-up-git. 
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/10_bundle_install.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
ERROR: Unsuccessful command execution on instance id(s) 'i-8c21232c'. Aborting the operation.
ERROR: Failed to deploy application. 
我如何让EB正确地拉动或修复该宝石,使其正常工作

我看到了其他类似的问题,但它们在这一点上已经过时了,并且经常引用
.ebextensions/ruby.config
文件,该文件在我的系统中任何地方都不存在


想法?

检查这里:正如我在原始评论中发布的那样,这是旧的,我没有他们正在编辑的文件。好的,所以我添加了文件和ruby.config文件,现在似乎可以部署了。仍然不工作,但父亲一直在。Jason你能检查一下.ebextensions/文件夹中的文件吗?检查位置,它应该是.ebextensions/ruby.configYep,我添加了这个文件,现在可以工作了。。谢谢