From 981dfa658f4e7be1661ef7704a466e38e9fa799c Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 9 Sep 2010 11:20:56 +0000 Subject: [PATCH] added Ruby version check git-svn-id: http://biopieces.googlecode.com/svn/trunk@1084 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/Maasha/lib/biopieces.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code_ruby/Maasha/lib/biopieces.rb b/code_ruby/Maasha/lib/biopieces.rb index ca9de4e..78a0050 100644 --- a/code_ruby/Maasha/lib/biopieces.rb +++ b/code_ruby/Maasha/lib/biopieces.rb @@ -1,3 +1,5 @@ +raise "Ruby 1.9 or later required" if RUBY_VERSION < "1.9" + # Copyright (C) 2007-2010 Martin A. Hansen. # This program is free software; you can redistribute it and/or -- 2.39.5