We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails 4.1.8 ruby 2.2.1
#config/sitemap.rb SitemapGenerator::Sitemap.default_host = 'http://...' SitemapGenerator::Sitemap.create do ... #row 27 add '/contacts', :changefreq => 'weekly' end
if i run
$ RAILS_ENV=production rake sitemap:refresh
i receive
NameError: uninitialized constant Builder /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/builder/sitemap_url.rb:72:in `to_xml' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/builder/sitemap_file.rb:102:in `add' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/link_set.rb:429:in `add_default_links' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/link_set.rb:145:in `add' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/interpreter.rb:31:in `add' .../config/sitemap.rb:27:in `block in run' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/interpreter.rb:59:in `instance_eval' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/interpreter.rb:59:in `eval' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/link_set.rb:40:in `create' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator.rb:42:in `method_missing' /.../config/sitemap.rb:4:in `run' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/interpreter.rb:76:in `instance_eval' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/interpreter.rb:76:in `run' /.../.rvm/gems/ruby-2.2.1@gemset/bundler/gems/sitemap_generator-028251269d39/lib/sitemap_generator/tasks.rb:51:in `block (2 levels) in <top (required)>'
google didn't help, gem version switches - too (tried 5.1.0, 5.0.5, 4.3.1), all hope is in you =)
(builder gem version is 3.2.2)
thank you
The text was updated successfully, but these errors were encountered:
i found the reason but do not know how to fix it (yet)
it conflicts with https://github.com/andrad/alphasms-api (if i comment it out, sitemap generates as expected)
and now i need to figure out what gem causing this, actually
Sorry, something went wrong.
ahm... mystic
here https://github.com/andrad/alphasms-api/tree/master/lib/alphasms
i have renamed file and all gem-internal references for builder.rb to something else (buildr.rb) and problem just gone :/
builder.rb
buildr.rb
closing issue
No branches or pull requests
rails 4.1.8
ruby 2.2.1
if i run
$ RAILS_ENV=production rake sitemap:refresh
i receive
google didn't help, gem version switches - too (tried 5.1.0, 5.0.5, 4.3.1), all hope is in you =)
(builder gem version is 3.2.2)
thank you
The text was updated successfully, but these errors were encountered: