Tag: 橡胶

ruby:没有这样的文件加载 – 运行cap rubber时的ubygems(LoadError):create_staging

我正在尝试按照Railscast#347 Rubber和Amazon EC2的指示启动Amazon EC2实例。 Rails项目配置如下。 .ruby-version文件: ruby-1.9.3 这是Gemfile : source ‘http://rubygems.org’ ruby ‘1.9.3’ gem ‘rails’, ‘~> 3.2.13’ gem ‘rb-readline’, ‘~> 0.5.0’ gem ‘counter_culture’, ‘~> 0.1.12’ gem ‘jquery-rails’, ‘~> 3.0.2’ gem ‘therubyracer’, ‘~> 0.11.4’, require: ‘v8’ gem ‘attribute_normalizer’, ‘~> 1.1.0’ group :assets do gem ‘sass-rails’, ‘~> 3.2.5’ gem ‘coffee-rails’, ‘~> 3.2.2’ gem ‘uglifier’, ‘~> 2.1.1’ end […]

Rubber和Amazon EC2托管问题(Net :: SSH :: AuthenticationFailed:root)

我想在Amazon EC2服务器上托管我的ruby on rails应用程序。 我在Ubuntu上关注Rubber和Amazon EC2的铁路广播。 当我执行cap rubber:create_staging命令时,它显示的错误是这样的 – * 2013-06-19 17:00:53 executing `rubber:setup_remote_aliases’ servers: [“production.ginfy.com”, “www.ginfy.com”, “foo.ginfy.com”, “ginfy.ginfy.com”, “temple.ginfy.com”, “ibetter.ginfy.com”] connection failed for: www.ginfy.com (Timeout::Error: execution expired), ibetter.ginfy.com (Timeout::Error: execution expired), temple.ginfy.com (Timeout::Error: execution expired), ginfy.ginfy.com (Timeout::Error: execution expired), production.ginfy.com (Net::SSH::AuthenticationFailed: root) 我已经检查过google group和github有关此问题的问题,但没有任何对我有用 。 不知道为什么我收到这个错误? 我无法弄清楚问题。 请帮忙。 更新: 我在亚马逊上成功托管了我的rails应用程序 现在我想知道如何在亚马逊上运行seeds.rb。 有没有办法在亚马逊上打开控制台? 在这里我提到了我的问题 – […]

cap rubber:create_staging接近尾声

我正在尝试在快速入门wiki中部署到AWS的示例橡胶测试https://github.com/rubber/rubber/wiki/Quick-Start 我跳过提示我的本地机器密码写入hosts文件的部分(它创建角色,实例和许多其他东西;我甚至遇到了另一个错误,它没有连接 – 我重命名为私有键没有.pem扩展名并修复了那个,并且它运行了一段时间,并在此处给出错误: 失败:“/ bin / bash -l -c’sudo -p’\”sudo密码:’\”bash -l -c’\”export DEBIAN_FRONTEND = noninteractive; apt-get -q -o Dpkg :: Options :: = – force-confold -y –force-yes install postfix build-essential git-core libxslt-dev ntp mysql-client libmysqlclient15-dev subversion curl autoconf bison ruby​​ zlib1g-dev libssl-dev libreadline6-dev libxml2- dev libyaml-dev apache2 libapache2-mod-proxy-html libcurl4-openssl-dev libapache2-mod-xsendfile apache2-mpm-prefork apache2-prefork-dev collectd libperl-dev […]