Fix unused variable warnings
Prevent RI Driver test from loading ~/.rdoc

On ruby 1.8 this will fail as the ri data contains references to
Encoding which is not present.