summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-03-31 15:24:17 +0800
committerAndre Arko <andre@arko.net>2014-03-31 15:24:17 +0800
commitd78912e63ff013f358e56bf0282a9d8da6057442 (patch)
treed31ffabbcb1ad366c7af8eb4006b5cfaa41c8dea /lib
parent7e417e943f741e99f17a6aa727605412966eea05 (diff)
downloadbundler-d78912e63ff013f358e56bf0282a9d8da6057442.tar.gz
that was duplicated
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source/rubygems.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/source/rubygems.rb b/lib/bundler/source/rubygems.rb
index 02367fa7f1..bc0fdca243 100644
--- a/lib/bundler/source/rubygems.rb
+++ b/lib/bundler/source/rubygems.rb
@@ -109,8 +109,9 @@ module Bundler
Bundler.sudo "cp -R #{install_path}/bin/#{exe} #{Bundler.system_bindir}/"
end
end
- installed_spec.loaded_from = "#{Bundler.rubygems.gem_dir}/specifications/#{spec.full_name}.gemspec"
+
spec.loaded_from = "#{Bundler.rubygems.gem_dir}/specifications/#{spec.full_name}.gemspec"
+ installed_spec.loaded_from = spec.loaded_from
["Installing #{version_message(spec)}", spec.post_install_message]
ensure
FileUtils.remove_entry_secure(install_path) if Bundler.requires_sudo?