3

我有一个关于橡胶故障的问题。我可以让它开始制作一个实例,但最终我得到这个错误信息。Rails的橡胶故障AWS部署

failed: "/bin/bash -l -c 'cd /mnt/DormDish2-production/releases/20120116205725 && bundle install --gemfile /mnt/DormDish2-production/releases/20120116205725/Gemfile --path /mnt/DormDish2-production/shared/bundle --deployment --quiet --without development test'" on DormDish.dormdish.com

任何想法?我的gemfile在本地机器上很好。

+0

我有同样的错误。我最初能够创建应用程序,但现在当我部署它时会出现该错误。希望你找到答案。 – 2013-01-15 21:41:52

+0

同样的问题:( – 2013-02-12 01:02:02

+0

你可以报告你正在使用的软件版本吗?你还在使用哪些操作系统? – slm 2013-02-12 14:09:01

回答

1

需要更多信息继续。我发现在谷歌集团这个线程标题是:在配置

看起来是一个类似的问题对你的:

The deployment fails. I see the following error:

failed: "/bin/bash -l -c 'cd /mnt/jitesh-website-production/releases/ 20120407170022 && bundle install --gemfile /mnt/jitesh-website- production/releases/20120407170022/Gemfile --path /mnt/jitesh-website- production/shared/bundle --deployment --quiet --without development test'" on webapp.foo.com

此修复程序是确保你可以访问Dormdish.dormdish.com,这个入口被放入你的/etc/hosts文件中。你能证实这是事实吗?您还可以通过您的AWS实例上的ssh访问该主机名吗?

+0

是的,这是一个主机文件的问题:'cap rubber:refresh'和'cap rubber:bootstrap'再解决我的问题后:) – 2013-02-12 20:17:16

+0

所以你的问题是固定的呢? – slm 2013-02-12 20:22:32

+0

是的,已修复。 'refresh'用于清除橡胶更改中的主机文件,'bootstrap'用固定值重新创建它。在我的情况下,这是因为我已经改变了域:) ps。不能奖励5个多小时的赏金。 – 2013-02-12 20:56:19