Skip to content

Capistrano 3.x setup

eskrynnikov edited this page May 12, 2017 · 5 revisions

sitemap.rb file should be in the config/

In Capfile

require 'capistrano/sitemap_generator'

In Gemfile

gem 'sitemap_generator' # require should be true, and it should be in production

then run

cap production sitemap:create