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

undefined method `protocol' #31

Open
Natd opened this issue Dec 29, 2014 · 2 comments
Open

undefined method `protocol' #31

Natd opened this issue Dec 29, 2014 · 2 comments

Comments

@Natd
Copy link

Natd commented Dec 29, 2014

I need https, but this method doesnt work

Generating sitemap...
rake aborted!
NoMethodError: undefined method protocol' for #<DynamicSitemaps::Generator:0x000000047b4f90> /home/gabstez/vladproject/config/sitemap.rb:4:ingenerate'
/home/gabstez/.rvm/gems/ruby-2.1.3/gems/dynamic_sitemaps-2.0.0/lib/dynamic_sitemaps/generator.rb:10:in instance_eval' /home/gabstez/.rvm/gems/ruby-2.1.3/gems/dynamic_sitemaps-2.0.0/lib/dynamic_sitemaps/generator.rb:10:ingenerate'
/home/gabstez/.rvm/gems/ruby-2.1.3/gems/dynamic_sitemaps-2.0.0/lib/dynamic_sitemaps.rb:27:in generate_sitemap' /home/gabstez/.rvm/gems/ruby-2.1.3/gems/dynamic_sitemaps-2.0.0/lib/dynamic_sitemaps/tasks/sitemap.rake:5:inblock (2 levels) in <top (required)>'
/home/gabstez/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in eval' /home/gabstez/.rvm/gems/ruby-2.1.3/bin/ruby_executable_hooks:15:in

'
Tasks: TOP => sitemap:build => sitemap:generate

@Natd
Copy link
Author

Natd commented Dec 30, 2014

ok it's worked if i specify

gem 'dynamic_sitemaps', git: '[email protected]:lassebunk/dynamic_sitemaps.git'

in Gemfile
i think in rubygems old version

@rastasheep
Copy link

+1 on this
Please update version on rubygems

Tnx!

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

2 participants