From fce0e1f58f01403568bee122a256cfab1adc6b5b Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Thu, 3 Jul 2008 22:23:10 +0800 Subject: [PATCH] Only require RedCloth if not already loaded Signed-off-by: Chris Wanstrath --- init.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.rb b/init.rb index 06dcb70..d70cc1e 100644 --- a/init.rb +++ b/init.rb @@ -1,5 +1,5 @@ begin - require 'RedCloth' + require 'RedCloth' unless defined? RedCloth rescue LoadError nil end