From: martinahansen Date: Thu, 9 Sep 2010 11:20:56 +0000 (+0000) Subject: added Ruby version check X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=981dfa658f4e7be1661ef7704a466e38e9fa799c;p=biopieces.git added Ruby version check git-svn-id: http://biopieces.googlecode.com/svn/trunk@1084 74ccb610-7750-0410-82ae-013aeee3265d --- 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