First semi-successful test of rubygems with C bridge to TUF

Also cleaned up some junk.