Permalink
Browse files

Gem::Specification#spec_file contains the full path

Fixes bug with RDoc::RI::Paths on windows
  • Loading branch information...
1 parent e9164d6 commit 64898ddf914d886990217d6c17dab0ffd5ce8782 @drbrain drbrain committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_rdoc_ri_paths.rb
@@ -19,7 +19,7 @@ def setup
]
specs.each do |spec|
- spec.loaded_from = File.join @tempdir, spec.spec_file
+ spec.loaded_from = spec.spec_file
open spec.spec_file, 'w' do |file|
file.write spec.to_ruby_for_cache

0 comments on commit 64898dd

Please sign in to comment.