We’ve written a few cookbooks for our Rails apps, but they’re private for various reasons. However, the community nginx cookbook is pretty good: https://github.com/opscode-cookbooks/nginx And you can check out our fork of it that adds some socket proxy goodness for Unicorn: https://github.com/evertrue/nginx-cookbook The pattern we follow is to set up the server with nginx properly configured, then let the apps’ deployments install rbenv, Ruby, & Bundler, then use Bundler to install all the necessary gems for the app. Initial deployment is a bit slow, but after that, you’ve got the flexibility to let your apps determine the specific versions of things you need (e.g., Ruby itself, Rails, various gems). On April 16, 2014 at 11:09:11 AM, S Ahmed ( "> ) wrote:
|
Archive powered by MHonArc 2.6.16.