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 <[EMAIL PROTECTED]>
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