viseztrance / rails-sitemap

A simple ruby on rails sitemap generator
MIT License
110 stars 24 forks source link

Does the rake task need to be run in production or can it be done in dev? #1

Closed dannyhertz closed 12 years ago

viseztrance commented 12 years ago

It should generate the xml file(s) depending on the current loaded environment.

On your server you may always want to use RAILS_ENV=production bundle exec rake sitemap:generate.

viseztrance commented 12 years ago

I'm going to close this issue. However, I'll make sure that by the next release the rake tasks will default to production.