lib/bundler/rubygems_ext.rb in bundler-1.3.5 vs lib/bundler/rubygems_ext.rb in bundler-1.3.6
- old
+ new
@@ -49,10 +49,10 @@
def groups
@groups ||= []
end
def git_version
- if @loaded_from && File.exist?(File.join(full_gem_path, ".git"))
+ if loaded_from && File.exist?(File.join(full_gem_path, ".git"))
sha = Dir.chdir(full_gem_path){ `git rev-parse HEAD`.strip }
" #{sha[0..6]}"
end
end