#!/usr/bin/env ruby # encoding: utf-8 #SiSU: copyright (C) 1997 - 2011 Ralph Amissah; License GPL, see appended program information begin def ruby_version_ok?(base_version) @v ||=RUBY_VERSION.scan(/\d+/) vb=base_version.scan(/\d+/) if @v[0] < vb[0] \ or @v[0] == vb[0] \ && @v[1] < vb[1] \ or @v[0] == vb[0] \ && @v[1] == vb[1] \ && @v[1] < vb[2] raise "Please, use Ruby#{vb} or later, current Ruby #{RUBY_VERSION}" else check_incompatible_ruby_build? end end def check_incompatible_ruby_build? require 'rbconfig' e=Config::CONFIG if RUBY_VERSION == '1.9.2' \ and e['PATCHLEVEL'].to_i < 180 raise <. If you have Internet connection, the latest version of the GPL should be available at these locations: * SiSU uses: * Standard SiSU markup syntax, * Standard SiSU meta-markup syntax, and the * Standard SiSU object citation numbering and system * Hompages: * Download: * Ralph Amissah ** Description: webrick share - note sisu by default does not link with file suffixes, see man pages for options