lib/shinmun/blog.rb in georgi-shinmun-0.3.4 vs lib/shinmun/blog.rb in georgi-shinmun-0.3.5

- old
+ new

@@ -19,10 +19,11 @@ # Initialize the blog def initialize(path) super @aggregations = {} - @repo = Grit::Repo.new(path) + + @repo = Grit::Repo.new(path) if defined?(Grit) Thread.start do loop do load_aggregations sleep 300