added asset_sync gem + config
added if statement