Permalink
Browse files

Fix a typo

unresoleved ->
unresolved

Pointed out by @drbrain. Thanks!!!
  • Loading branch information...
1 parent 0262778 commit 018a90e1276eaf0cd3a6ca393c065ef1dafff205 @kou committed Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/rubygems.rb
  2. +1 −1 lib/rubygems/core_ext/kernel_require.rb
View
2 lib/rubygems.rb
@@ -961,7 +961,7 @@ def find_unresolved_default_spec(path)
# Remove needless Gem::Specification of default gem from
# unresolved default gem list
- def remove_unresoleved_default_spec(spec)
+ def remove_unresolved_default_spec(spec)
spec.files.each do |file|
@path_to_default_spec_map.delete(file)
end
View
2 lib/rubygems/core_ext/kernel_require.rb
@@ -13,7 +13,7 @@ def initialize(path)
def run
spec = Gem.find_unresolved_default_spec(@path)
if spec
- Gem.remove_unresoleved_default_spec(spec)
+ Gem.remove_unresolved_default_spec(spec)
gem(spec.name)
end
end

0 comments on commit 018a90e

Please sign in to comment.