News for hackers. Stuff that matters.
Re:What the hell is happening to rails? by cheald on Monday June 13, 2011 @08:16PM (#2651287)
(I can't seem to reply to your comment, so replying here)

You could look at using something like a Git pre-commit hook to do that pretty trivially. I personally use a rake task that compiles all my Sass and Coffeescript to their respective CSS and JS files, then packs it into minified-and-gzipped files with jammit, then commit the resulting bundle. I end up serving pre-baked-and-concatenated assets and it works just fine.

Re:What the hell is happening to rails? by bguthrie on Tuesday June 14, 2011 @12:00AM (#2651746)
This is the best way to do it, and using a continuous integration server to emit a binary as the output of your build, as our ancestors in compiled languages did in days of yore, is a good way to make it happen. You don't even need to commit it; just use the tarball (or whatever) as the artifact of deployment.