有石墨服务器问题的橡胶宝石

问题描述 投票:0回答:1

我在使用rubber时遇到问题,每当我尝试cap rubber:bootstrap并有一个暂存实例时,它总是坚持这个错误。

* executing "sudo -p 'sudo password: '  bash -l -c 'cd /mnt/localstore-production/releases/20120519213905 && RUBBER_ENV=production RAILS_ENV=production ./script/rubber config  --force --file=\"role/graphite_server\"'"
    servers: ["production.localstore.com"]
    [production.localstore.com] executing command
 ** [out :: production.localstore.com] Instance not found for host: ip-10-2-118-252
 ** [out :: production.localstore.com] 
    command finished in 5849ms
failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\''  bash -l -c '\\''cd /mnt/localstore-production/releases/20120519213905 && RUBBER_ENV=production RAILS_ENV=production ./script/rubber config  --force --file=\"role/graphite_server\"'\\'''" on production.localstore.com
ruby-on-rails rubygems amazon-ec2 amazon-web-services
1个回答
0
投票

实际上问题是我从AWS控制台更改了实例的静态IP,所以为什么实例的主机信息改变了一些方式。

所以我使用这个命令cap rubber:referesh来刷新每个东西,然后引导实例,它解决了我的问题。

© www.soinside.com 2019 - 2024. All rights reserved.