【发布时间】:2013-08-16 10:52:11
【问题描述】:
我正在尝试在 AWS 上部署一个 spree 应用程序。 设置 elastic-beanstalk 并添加到 my_project/.ebextensions/ 这个 .config 文件
packages:
yum:
git-core: []
container_commands:
bundle:
command: "gem install bundle"
assets:
command: "bundle exec rake assets:precompile"
db:
command: "bundle exec rake db:migrate"
leader_only: true
我使用 git aws.push 部署我的应用程序,却收到以下错误消息:
在任何源中都找不到 rake-10.1.0 (Bundler::GemNotFound)
仔细检查我的宝石集,使用 捆绑展示耙 给我:
... /gems/rake-10.1.0
在查看来自 AWS 的日志文件时,我发现此错误:
sh: git: 找不到命令 Git错误:命令`git clone 'https://github.com/spree/spree.git'
我做错了什么?
【问题讨论】:
标签: github amazon-web-services spree amazon-elastic-beanstalk