X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=bin%2Frbot;h=2e460e337d5bce8c119d67126edbc73f61cb5250;hb=82756327944bbae07c7c515763f978012729bdf0;hp=aaeb730e3c10301034167a7e6667ee4701f0f257;hpb=1e43f97c27e6c55d312c14a2b9ed676b6bdb01ce;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/bin/rbot b/bin/rbot index aaeb730e..2e460e33 100755 --- a/bin/rbot +++ b/bin/rbot @@ -47,7 +47,7 @@ require 'etc' require 'getoptlong' require 'fileutils' -$version ||= '0.9.11' +$version ||= '0.9.15' $version_timestamp ||= 0 $opts = Hash.new @@ -98,6 +98,11 @@ rescue LoadError => e exit 2 end +# ruby 1.9 specific fixes +unless RUBY_VERSION < '1.9' + require 'rbot/compat19' +end + if ($opts["version"]) puts "rbot #{$version}" exit 0