You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by kc...@apache.org on 2008/06/26 20:14:26 UTC

svn commit: r671971 - /incubator/thrift/trunk/lib/rb/Rakefile

Author: kclark
Date: Thu Jun 26 11:14:25 2008
New Revision: 671971

URL: http://svn.apache.org/viewvc?rev=671971&view=rev
Log:
rb: Add stubs for rake install/package when Echoe not present [THRIFT-52]

Author: Kevin Ballard <ke...@rapleaf.com>

Modified:
    incubator/thrift/trunk/lib/rb/Rakefile

Modified: incubator/thrift/trunk/lib/rb/Rakefile
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/Rakefile?rev=671971&r1=671970&r2=671971&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/Rakefile (original)
+++ incubator/thrift/trunk/lib/rb/Rakefile Thu Jun 26 11:14:25 2008
@@ -58,4 +58,10 @@
     p.include_rakefile = true
   end
 rescue LoadError
+  [:install, :package].each do |t|
+    desc "Stub for #{t}"
+    task t do
+      fail "The Echoe gem is required for this task"
+    end
+  end
 end