Permalink
Browse files

raise if Merb not found

  • Loading branch information...
1 parent 5984438 commit be119d23a662abc2f47a72b144ded499116b55ea Tobias Bielohlawek committed Mar 8, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/big_sitemap.rb
View
1 lib/big_sitemap.rb
@@ -338,6 +338,7 @@ def initialize(options={})
class BigSitemapMerb < BigSitemap
def initialize(options={})
+ raise "No Merb Environment loaded" unless defined? Merb
require 'extlib'
DEFAULTS.merge!(:document_root => "#{Merb.root}/public")

0 comments on commit be119d2

Please sign in to comment.