So hello again everyone!
I'm trying to install the complete_mongrel_mysql template.
SO far I've figured out if you're using ruby 1.9.2 you have to change
the mongrel version:
rubber-mongrel.yml to:
# These will probably need to be used by the rubber module used for
the web role (nginx)
mongrel_base_port: 7000
mongrel_count: "#{RUBBER_ENV == 'production' ? 8 : 2}"
roles:
app:
gems: [mongrel --pre, mongrel_cluster]
This installs mongrel fine but hangs on mongrel cluster:
[
production.foo.com] executing command
** ERROR: Could not find a valid gem 'mongrel_cluster' (>= 0) in any
repository
** ERROR: Possible alternatives: mongrel_cluster
I SSH'ed into server and manually installed cluster. 'gem install
mongrel_cluster'
Q - Why would mongrel cluster not install from rubber?!?
So this was fine. I now run cap rubber:bootstrap again and get this
error:
* sftp upload complete
* executing "sudo -p 'sudo password: ' bash -l -c 'ruby /tmp/
gem_helper install $CAPISTRANO:VAR$'"
servers: ["
production.foo.com"]
[
production.foo.com] executing command
** ERROR: While executing gem ... (Gem::CommandLineError)
** Please specify at least one gem name (e.g. gem build GEMNAME)
** /tmp/gem_helper:37:in `<main>': Unable to install gems
(RuntimeError)
command finished in 888ms
failed: "/bin/bash -l -c 'sudo -p '\\''sudo password: '\\'' bash -l -
c '\\''ruby /tmp/gem_helper install open4 aws-s3 bundler rubber:1.14.1
memcache-client mysql mongrel --pre mongrel_cluster'\\'''" on
production.foo.com
Any ideas?
Thanks
Dan