theodi/open-data-certificate — pull request #774 by pezholio (2014-05-06 13:23:54+00:00)
Title: Get head commit from Rails root rather than git

Using the git command was causing some memory usage errors, so rather than getting the current commit sha from git, we can just get the current folder (which is named as the current sha) from `Rails.root`, so we're using the Ruby porcess, rather than spinning up another process, which may have unintended consequences.