change source from rubygems to taobao
switch sqlite to pg
add a few gems
add guard