Questions tagged [sitemap-generator-gem]
27 questions
4
votes
1 answer
Sitemap_generator fails to upload
I've followed the instructions on a couple of pages for getting a sitemap to generate and be uploaded to my S3 Bucket. The sitemap is generating, but not uploading.
I'm using carrierwave for the upload, which is working fine for image uploads.
The…

Will Taylor
- 1,994
- 2
- 23
- 36
2
votes
1 answer
AWS S3 "ACCESS DENIED" trying on Rails Sitemap_Generator
So I'm following the instructions on the sitemap_generator Gem for uploading the sitemap to S3 (since it wasn't being read from the "public" folder) and I keep getting the following error:
In '/var/www/mysite/releases/20200902316/public/':
rake…

mystic cola
- 1,465
- 1
- 21
- 39
2
votes
1 answer
Rails Sitemap_generator using aws_fog configuration
I am using sitemap_generator gem with rails 6 on heroku. I am told the easiest way is to use an s3 on amazon and bridge with aws_fog.
The implementation is well documented on the gem side... but I am struggling to make sure the amazon config is…

Joe Bloggos
- 889
- 7
- 24
2
votes
2 answers
uninitialized constant CarrierWave::Storage::Fog with Google Cloud Storage
I have seen lots of other people having similar problems to me but none of the listed solutions apply so I am hoping this awesome community can help me out.
I am trying to use the sitemap_generator gem but I host with Heroku so I am trying to follow…

Dave Essery
- 207
- 1
- 12
1
vote
1 answer
Can't specify digitalocean endpoint in sitemap_generator s3 aws adaptor
I am using sitemap_generator in our Rails application & trying to create and upload the sitemaps to DigitalOcean spaces (which is s3 compatible as far as I know) but I can't override the endpoint attribute in the sitemap adaptor, so it always…

Ahmed Elkoussy
- 8,162
- 10
- 60
- 85
1
vote
0 answers
Rails sitemap_generator by kjvarga doesn't run because of legacy ACL Trying to set access that already has uniform-bucket-level-access
I'm trying to use rails sitemap_generator. The Gem can be found here. https://github.com/kjvarga/sitemap_generator/
I'm getting the error
rake aborted!
Google::Cloud::InvalidArgumentError: invalid: Cannot insert legacy ACL for an object when…

yoshinator
- 436
- 6
- 13
1
vote
0 answers
sitemap generator does not work properly / Rails Application
i built a simple sitemap with the gem sitemap generator.
It is supposed to list the job pages of my application.
E.g. www.mydomain.com/vacancies/24
There is a bug that I cannot fix myself for days:
It shows the wrong indexes (that do not exist).…

Sabrina
- 309
- 1
- 14
1
vote
1 answer
ActiveJob: Generate sitemap in response to content generation
In my Rails 4.2 app, I'm using sitemap_generator gem to generate sitemaps. And use Heroku scheduler to execute the rake task. I think it'd be better if the sitemap is generated when there is new content or execute a manual action from admin panel by…

lightsaber
- 1,481
- 18
- 37
1
vote
2 answers
sitemap_generator gem creates UrlGenerationError
I use (amongst others):
gem 'rails', '4.0.0'
gem 'sitemap_generator', '3.4'
gem "friendly_id", "~> 5.0.3"
gem 'globalize', '~> 4.0.2'
Sitemap generator should create urls to all my images:
class Image < ActiveRecord::Base
attr_accessible…

user929062
- 807
- 4
- 12
- 33
1
vote
2 answers
Generating sitemaps in Rails
I am trying to generate a sitemap for my Rails app. I want to generate them on a periodic basis and not on every hit. I was previously using this to generate sitemaps https://github.com/kjvarga/sitemap_generator. This seems good for sitemaps under…

Adam Young
- 1,321
- 4
- 20
- 36
1
vote
2 answers
Sitemap file not found on production
I am using the sitemap_generator gem and have the following configuration at config/sitemap.rb:
require 'rubygems'
require 'sitemap_generator'
SitemapGenerator::Sitemap.default_host = 'http://www.localhost.com'
SitemapGenerator::Sitemap.create do
…
user2911232
1
vote
0 answers
Sitemap for Ruby on Rails application
I have installed the sitemap_generator gem and successfully implemented it.
Now i have a sitemap.xml.gz in my public/sitemaps folder.
I want to show sitemap on my website like this.
How to do that?

farz bhullar
- 451
- 3
- 10
1
vote
0 answers
Git not pushing my sitemap on public folder
I'm using ruby on rails sitemap_generator gem.
When I make new sitemap with ruby sitemap.rb command it displays this:
+ sitemap.xml.gz 11 links / 527 Bytes
Sitemap stats: 11 links / 1 sitemaps /…

DanielsV
- 892
- 1
- 8
- 26
1
vote
1 answer
Don't know why my sitemap is showing less results
I'm using sitemap_generator gem, and everything works fine, except that when running my rake task:
heroku run rake sitemap:refresh --remote live
I get the following results:
In '/app/public/':
+ sitemap.xml.gz …

Gibson
- 2,055
- 2
- 23
- 48
1
vote
2 answers
Sitemap generation does not save file to storage
I'm just getting a sitemap going with the rails gem and am having trouble generating a sitemap in production.
Running the rake command: rake sitemap:refresh in development creates the sitemap.xml.gz file in the public folder. I navigate to…

settheline
- 3,333
- 8
- 33
- 65