Switch to .git/safe; check rails cache differently