Permalink
Browse files

Merge commit '767d99b5bffc9fd188b1fbd1b67aef20014bc1b7'

  • Loading branch information...
mojombo committed Dec 10, 2008
2 parents 3041cf6 + 767d99b commit 3fe1381dcab09b749a3f723a5d3af8bb3a582cb9
Showing with 6 additions and 2 deletions.
  1. +6 −2 lib/jekyll.rb
View
@@ -12,7 +12,11 @@
# 3rd party
require 'liquid'
require 'redcloth'
-require 'rdiscount' rescue puts "The rdiscount gem is required for markdown support!"
+begin
+ require 'rdiscount'
+rescue LoadError
+ puts "The rdiscount gem is required for markdown support!"
+end
require 'classifier'
require 'directory_watcher'
@@ -31,4 +35,4 @@ module Jekyll
def self.process(source, dest)
Jekyll::Site.new(source, dest).process
end
-end
+end

0 comments on commit 3fe1381

Please sign in to comment.