Secure gem source (only relevant for running specs).
Unremove #append_to_file after b8ad6d1, which is required by 'admins can sudo', until it's sorted out.
Deal with current_head being a substring of resolved_ref
Xcode tools not being available should not proceed
Merge branch 'for_ben/xcode_tools'