Skip to content

Instantly share code, notes, and snippets.

View brettohland's full-sized avatar

brett ohland brettohland

View GitHub Profile
#! /usr/bin/env ruby
require 'fileutils'
require 'pathname'
#Remove the \n character at the end of the path returned
root = %x(git rev-parse --show-toplevel).chomp
root_path = Pathname.new(root)
podfile = root + '/Podfile.lock'