utils for rails deploy