THRIFT-175. Specs in Ruby library should be run during make check

This patch makes 'make check' run 'rake spec' in the appropriate scenarios. There is still another bug that will break the build though.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762838 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am
index 5ba608c..3534e27 100644
--- a/lib/rb/Makefile.am
+++ b/lib/rb/Makefile.am
@@ -40,3 +40,7 @@
 	$$RUBY setup.rb clean
 
 check-local: all
+if HAVE_RSPEC
+	rake spec
+endif
+