【问题标题】:Rubber gem having issue with graphite server石墨服务器有问题的橡胶宝石
【发布时间】:2012-05-27 00:00:18
【问题描述】:

我在使用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】:

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

    所以我使用此命令cap rubber:referesh 刷新所有内容,然后引导实例,它解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-12-17
      • 2014-12-10
      • 2013-01-18
      • 1970-01-01
      • 2016-03-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多