Issue #1773 has been updated by Lin Jen-Shin.


I am not sure why, but calling `Gem.source_index'
would change `Gem.path' 's value, and cause
`Gem.use_path' be a private method.

It seems that there's some magic in Gem.source_index,
and that modified Gem.path and cause this bug.

This is tested with trunk r24791.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1773

----------------------------------------
http://redmine.ruby-lang.org