aboutsummaryrefslogtreecommitdiff
path: root/ruby/Rakefile
diff options
context:
space:
mode:
authorChris Fallin <cfallin@c1f.net>2015-05-02 19:00:44 -0700
committerChris Fallin <cfallin@c1f.net>2015-05-02 19:00:44 -0700
commitdcf12136835af5239f0877aa455eabbd7b88b61e (patch)
treec40fc1f7c0c249c5d66fc6429222414cb5fcdf94 /ruby/Rakefile
parent4b2a6328bd2fe6a1d58bbe536c512c566a2673d3 (diff)
parentd55733c76ee1db702529f38f602548ffe48a4ab1 (diff)
downloadprotobuf-dcf12136835af5239f0877aa455eabbd7b88b61e.tar.gz
protobuf-dcf12136835af5239f0877aa455eabbd7b88b61e.tar.bz2
protobuf-dcf12136835af5239f0877aa455eabbd7b88b61e.zip
Merge pull request #332 from skippy/nil-out-of-bounds
ruby: return nil for out of bounds
Diffstat (limited to 'ruby/Rakefile')
-rw-r--r--ruby/Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby/Rakefile b/ruby/Rakefile
index 7c1d8495..c25103d8 100644
--- a/ruby/Rakefile
+++ b/ruby/Rakefile
@@ -6,6 +6,9 @@ require "rake/testtask"
spec = Gem::Specification.load("google-protobuf.gemspec")
if RUBY_PLATFORM == "java"
+ if `which mvn` == ''
+ raise ArgumentError, "maven needs to be installed"
+ end
task :clean do
system("mvn clean")
end