Skip to content

Commit

Permalink
rescue require 'sitemap_generator'
Browse files Browse the repository at this point in the history
  • Loading branch information
Antono Vasiljev committed Apr 9, 2012
1 parent 20a8be2 commit ac971a5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Rakefile
Expand Up @@ -3,6 +3,11 @@


require File.expand_path('../config/application', __FILE__) require File.expand_path('../config/application', __FILE__)
require 'rake' 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 Shelr::Application.load_tasks

0 comments on commit ac971a5

Please sign in to comment.