Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

rescue require 'sitemap_generator'

  • Loading branch information...
commit ac971a5925c198ed1217285ac48c5c0127e68bb4 1 parent 20a8be2
@antono authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
View
7 Rakefile
@@ -3,6 +3,11 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'
-require 'sitemap_generator/tasks'
+
+begin
+ require 'sitemap_generator/tasks'
+rescue Exception => e
+ puts "Warning, couldn't load gem tasks: #{e.message}! Skipping..."
+end
Shelr::Application.load_tasks
Please sign in to comment.
Something went wrong with that request. Please try again.