ruby on rails - cap rubber:create_staging failed near end -


i trying deploy aws sample rubber test in quick start wiki https://github.com/rubber/rubber/wiki/quick-start

i past part prompts local machine password write hosts file ( creates roles, instance, , lot of other things; got through error not connecting - renamed private key without .pem extension , fixed ), , runs on while, , gives error here:

failed: "/bin/bash -l -c 'sudo -p '\''sudo password: '\'' 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 monit mysql-server percona-toolkit openjdk-7-jdk unzip python-django python-django-tagging python-cairo python-memcache memcached uwsgi uwsgi-plugin-python uwsgi-plugin-http sqlite3 bzr zip mongodb-10gen haproxy ec2-ami-tools'\'''" on production.foo.com

i got same failure, , looking above line @ output command, saw uwsgi-plugin-http package needs replaced uwsgi-core package.

there apparently a pull request fix this has not yet been accepted, can fix making same edit: on rubber 2.8.1, open config/rubber/rubber-graphite.yml, go line 22, , should this:

    packages: [python-django, python-django-tagging, python-cairo, python-memcache, memcached, uwsgi, uwsgi-plugin-python, uwsgi-plugin-http, sqlite3, bzr, zip] 

replace uwsgi-plugin-http uwsgi-core line be:

    packages: [python-django, python-django-tagging, python-cairo, python-memcache, memcached, uwsgi, uwsgi-plugin-python, uwsgi-core, sqlite3, bzr, zip] 

then, run cap rubber:bootstrap, , should finish setting instance.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

how to receive file in java(servlet/jsp) -