Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

raise if Merb not found

  • Loading branch information...
commit be119d23a662abc2f47a72b144ded499116b55ea 1 parent 5984438
@rngtng rngtng authored
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")
Please sign in to comment.
Something went wrong with that request. Please try again.