From e65a9fe4d02397764e90b38f25c1b93948094ff8 Mon Sep 17 00:00:00 2001 From: Gregor Melhorn Date: Wed, 19 Jan 2011 09:47:55 +0100 Subject: [PATCH] required rational lib for 1.8 compatibility, doesn't hurt 1.9 --- chance.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chance.rb b/chance.rb index 84bf832..1d59eaa 100755 --- a/chance.rb +++ b/chance.rb @@ -25,6 +25,7 @@ require 'optparse' require 'pp' require 'FileUtils' +require 'rational' config = {} argparser = OptionParser.new {|opts| @@ -186,4 +187,4 @@ end -File.open(config[:output] + "theme." + config[:extension], File::WRONLY|File::TRUNC|File::CREAT) {|f| f.write(final) } \ No newline at end of file +File.open(config[:output] + "theme." + config[:extension], File::WRONLY|File::TRUNC|File::CREAT) {|f| f.write(final) }