Thoughts grows up by feeding itself with its own words.

Handle Assets with Nginx Instead of Thin


When deploying a Rails project to a production environment, I met a lot of problems with assets. For the Hegwin.me blog you're reading now, I'm using Nginx and Thin as the server for deployment. Since I don't deploy very often, I basically do it manually. During my deployment, after I execute `RAILS_ENV=production bundle exec rake assets:precompile` and start the server...