Working my way through using deprec2 to handle setting up a server that
runs a couple different apps, I've come across this:
The suggestion in the README.slicehost of setting up a "sys" project to set up the server is
great, but it fails if you try to run install_rails_stack from that
directory because of the mongrel:install task. The issue is that the
task assumes that you've set up the application name to be used as part
of mongrel_user_prefix in create_mongrel_user_and_group. This
assumption isn't good for a "sys" project where a machine that may be
running several apps is being set up prior to setting up the apps. I
didn't touch :application in the deploy.rb created by the original
capify so install_rails_stack ended up trying to run this:
- executing "sudo -p 'sudo password: ' grep 'app_set your application
name here:' /etc/group
sudo /usr/sbin/groupadd app_set your
application name here"
:-)
Would it make sense to mov #create_mongrel_user_and_group to
#config_project ?
Change History
Download in other formats:
|