News for hackers. Stuff that matters.
Re:Deploying a Rails 3.1 app in production by bguthrie on Friday May 27, 2011 @04:50AM (#2590858)
Correct me if I'm wrong, but can't you avoid compiling in production if you package everything as part of your CI build? Rather than deploy off of a git clone, you compile at the end of CI, vendorize your gems, generate a tarball, and push that up.

This minimizes production dependencies (including the need to compile gems live) as long as your CI environment sufficiently resembles prod.

Re:Deploying a Rails 3.1 app in production by moomerman on Friday May 27, 2011 @05:19AM (#2590915)
That could be one solution, however there are some problems that spring to mind like deploying to different architectures (common if you're using EC2) - I guess this fits your point about your CI env resembling prod.