Permalink
Browse files

Ooops, typo

git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1937 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information...
1 parent 96b876d commit 53aa2a53ccd7ffae860dd44f268a97e376490729 drbrain committed Dec 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubygems.rb
View
@@ -608,7 +608,7 @@ def self.promote_load_path(gem_name, over_name)
raise ArgumentError, "gem #{gem_name} is not activated" if gem.nil?
raise ArgumentError, "gem #{over_name} is not activated" if over.nil?
- last_gem_path = File.join(gem.full_gem_path, gem.require_paths).last
+ last_gem_path = File.join gem.full_gem_path, gem.require_paths.last
over_paths = over.require_paths.map do |path|
File.join over.full_gem_path, path

0 comments on commit 53aa2a5

Please sign in to comment.