lib/bundler/rubygems_ext.rb in bundler-1.5.1 vs lib/bundler/rubygems_ext.rb in bundler-1.5.2
- old
+ new
@@ -54,10 +54,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 = Bundler::SharedHelpers.chdir(full_gem_path){ `git rev-parse HEAD`.strip }
" #{sha[0..6]}"
end
end