THRIFT-410. rb: Ruby lib should have no checked in generated code

This patch deletes the existing checked in ruby code, adds all the generated ruby code directories to svn:ignore, and updates the Rakefile so that "rake spec" generates the ruby code automatically.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760050 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/Rakefile b/lib/rb/Rakefile
index 96d1448..a9d1710 100644
--- a/lib/rb/Rakefile
+++ b/lib/rb/Rakefile
@@ -4,9 +4,11 @@
 
 THRIFT = '../../compiler/cpp/thrift'
 
-task :default => [:'gen-rb', :spec, :test]
+task :default => [:spec]
 
-Spec::Rake::SpecTask.new do |t|
+task :spec => [:'gen-rb', :realspec]
+
+Spec::Rake::SpecTask.new(:realspec) do |t|
   t.spec_files = FileList['spec/**/*_spec.rb']
   t.spec_opts = ['--color']
 end