Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ooops, typo

git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1937 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information...
commit 53aa2a53ccd7ffae860dd44f268a97e376490729 1 parent 96b876d
drbrain authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rubygems.rb
View
2  lib/rubygems.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.