Skip to content
New issue

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

https issue #43

Open
kuzevanoff opened this issue Jun 18, 2016 · 2 comments
Open

https issue #43

kuzevanoff opened this issue Jun 18, 2016 · 2 comments

Comments

@kuzevanoff
Copy link

NoMethodError: undefined method `protocol=' for DynamicSitemaps:Module
config/sitemap.rb
DynamicSitemaps.configure do |config|
config.protocol = "https"
end

@kelvinlemus
Copy link

you have to change in the Gemfile: gem 'dynamic_sitemaps', github: 'lassebunk/dynamic_sitemaps',
i see that this feature is not submitted to rubygems

@silva96
Copy link

silva96 commented Jan 5, 2017

Actually the method protocol= doesn't exist in any branch.

You can't assign the protocol "Gem wide" but Sitemap specific.

Then all you have to do is point your gem to master

gem 'dynamic_sitemaps', github: 'lassebunk/dynamic_sitemaps', branch: 'master'

and in config/sitemap.rb add the following line at the top

protocol "https"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants