diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/source/rubygems.rb | 3 |
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? |