Permalink
Browse files

Only require RedCloth if not already loaded

Signed-off-by: Chris Wanstrath <chris@ozmm.org>
  • Loading branch information...
1 parent 6a3a952 commit fce0e1f58f01403568bee122a256cfab1adc6b5b Kevin Ansfield committed with Jul 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.rb
View
2 init.rb
@@ -1,5 +1,5 @@
begin
- require 'RedCloth'
+ require 'RedCloth' unless defined? RedCloth
rescue LoadError
nil
end

0 comments on commit fce0e1f

Please sign in to comment.