diff options
author | Andre Arko <andre@arko.net> | 2013-08-15 02:05:37 +0000 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-08-15 02:11:45 +0000 |
commit | d83ab1e2bf6476c0f8df05d95c5c015c2168af11 (patch) | |
tree | 7211031dae2dfd1edabfa890a6f136a743dc6b34 | |
parent | e97b1bbf952ac2a30ec93d200c269e732d15a27e (diff) | |
download | bundler-d83ab1e2bf6476c0f8df05d95c5c015c2168af11.tar.gz |
loaded_from is an attr_reader, we should call it
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index eeeed1ef16..9baf14a0ca 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -51,7 +51,7 @@ module Gem 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 |