Permalink
Browse files

So why is this here if it's nil?

  • Loading branch information...
1 parent ad16f1c commit 20a88312cdfac966c8e716ab3b4bacd8e12da85e @bhuga committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/language_pack/ruby.rb
@@ -192,7 +192,7 @@ def setup_language_pack_environment
# Sets ENV['HEAD_SHA'], allowing applications to know what version they are
def set_head_sha
- puts ENV['GIT_DIR']
+ puts ENV['GIT_DIR'].inspect
puts run("ls #{ENV['GIT_DIR']}")
ENV['HEAD_SHA'] = run("cat #{ENV['GIT_DIR']}/refs/heads/master")
puts ENV['HEAD_SHA']

0 comments on commit 20a8831

Please sign in to comment.