Comments (6)
That's pretty odd.
The problem seems to be with the numbers helpers that I use from ActionView. You say that you're running Rails 3.0.3 but from the trace it is using actionpack 3.0.1. So that may be the problem.
See if uninstalling the other actionpack gems solves the prob. I will have to just copy the helper code or something because it's a pain relying on them for each version of Rails which are slightly different in their implementation.
from sitemap_generator.
Yes, I'm sorry, that was a typo.
I was using Rails 3.0.1 (with actionpack 3.0.1, so no need to uninstall the older ones).
I tried bumping up to 3.0.3 but the whole website stops working ( I get a weird undefined method `to_sym' for #User:0x7f21e9c81a10 ).
So I tried going back to 3.0.0 but I have the same error as with 3.0.1 .
Any suggestions?
from sitemap_generator.
That's really odd. I setup a clean rails 3.01 environment running REE and didn't run into any problems with a simple test.
What version of Ruby are you running? It looks like it could be a ruby/rails bug.
Can you try run it again with the failing case and modify the gem source (rvm info will tell you your gem dir if you're using rvm):
I want to see the value of 'filesize' in the summary method of lib/sitemap_generator/builder/sitemap_file.rb
Whatever that value is, it seems to be causing the problem.
I've released v1.3.8 which should work regardless.
from sitemap_generator.
Hi, I think I discovered the cause of the problem and already opened an issue on the gem page: https://github.com/svenfuchs/routing-filter/issues#issue/19 .
Hope I manage to solve it.
Thanks, let me know if you need anything else to fix this, but I'm pretty sure it's not your fault :)
from sitemap_generator.
Ok cool, good to know. I hate all the changing dependencies when Rails gets updated...I wish we had built it framework-agnostic from the start and then added the Rails integration after...but oh well :)
from sitemap_generator.
Hi, just wanted to tell you that I had a problem with my routes.
svenfuchs helped me fix it.
If someone else has the same problem, you can find more details here:
https://github.com/svenfuchs/routing-filter/issues/closed#issue/19
from sitemap_generator.
Related Issues (20)
- Feature Request: Remove unwanted options HOT 6
- Is it possible to override the default link options? HOT 3
- How to remove default priority, lastmod and changefreq from all urls HOT 1
- GoogleStorageAdapter - Can't create sitemap on buckets with uniform bucket-level access enabled HOT 3
- Allow disable acl for S3 bucket HOT 1
- Rails on Heroku with S3 sitemap hosting - google didn't like it HOT 2
- 【Worked】Ping failed for Bing: #<OpenURI::HTTPError: 410 Gone> HOT 4
- Is it possible to add additional metadata fields to the xml HOT 5
- Feature request : Make `default_host` optional / Allow full URL instead of path HOT 2
- Entity escaping in XML output
- google search console couldn't fetch sitemap but index is ok HOT 7
- Google search correct ping url HOT 2
- Readme install instructions fail HOT 1
- [BUG] Mobile sitemap link in Readme.md is giving 404
- TimeZone is ignored
- sitemap.xml.gz file not found on server
- Testing with frozen time does not work
- should sitemap show up automatically in google search console? HOT 2
- Should we drop default `lastmod` of `Time.now` as Google says "it needs to consistently match reality"? HOT 2
- Remove deprecated Google ping HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sitemap_generator.