rubygems package, minor fixes to Rakefile, etc.