Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

So why is this here if it's nil?

  • Loading branch information...
commit 20a88312cdfac966c8e716ab3b4bacd8e12da85e 1 parent ad16f1c
@bhuga authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/language_pack/ruby.rb
2  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']
Please sign in to comment.
Something went wrong with that request. Please try again.