Fork me on GitHub

deployment

    speed up assets precompile with turbo-sprockets-rails3

    23 Nov 2012

    Richard Huang (flyerhzm@gmail.com)

    Rails is integrated with sprockets from 3.1, which gives you the power to pre-process, compress and minify your assets. It's awesome, but it slows down deployment a lot. Read More

    Tags 


    split your cap tasks into different files

    10 Sep 2012

    Richard Huang (flyerhzm@gmail.com)

    Your capistrano deploy.rb file might become complicated with the growth of your application, contain more and more cap tasks, it would be better to split these tasks into different files according to the functionalities, which makes it easy to maintain, and they are more likely to be reused in the future. Read More

    Tags 


    DRY bundler in capistrano

    02 Sep 2010

    Richard Huang (flyerhzm@gmail.com)

    There are a few posts told you how to integrate bundler into capistrano, but they are out of date now. After bundler 1.0 released, you can add only one line in capistrano to use bundler. Read More

    Tags