I solved the problem by supplying -rubygems to ruby, by setting
RUBYOPT=-rubygems, before doing rake test_sqlite3.  I wonder why others
don't report that.  You guys test your gems, especially such
foundational ones as activerecord, don't you?  :)