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

Missing sitemap.xml causing ruby error #10

Open
netpoetica opened this issue Apr 23, 2013 · 2 comments
Open

Missing sitemap.xml causing ruby error #10

netpoetica opened this issue Apr 23, 2013 · 2 comments

Comments

@netpoetica
Copy link

  project-website git:(qa) jekyll
Configuration from /Users/krosenberg/Desktop/Projects/website/_config.yml
Building site: ./src -> ./public
/Users/krosenberg/Desktop/Projects/website/_plugins/sitemap_generator.rb:126:in `initialize': No such file or directory -/Users/krosenberg/Desktop/Projects/website/public/sitemap.xml (Errno::ENOENT)
    from /Users/krosenberg/Desktop/Projects/website/_plugins/sitemap_generator.rb:126:in `new'
    from /Users/krosenberg/Desktop/Projects/website/_plugins/sitemap_generator.rb:126:in `generate'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/gems/jekyll-0.12.1/lib/jekyll/site.rb:190:in `block in generate'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/gems/jekyll-0.12.1/lib/jekyll/site.rb:189:in `each'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/gems/jekyll-0.12.1/lib/jekyll/site.rb:189:in `generate'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/gems/jekyll-0.12.1/lib/jekyll/site.rb:40:in `process'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/gems/jekyll-0.12.1/bin/jekyll:264:in `<top (required)>'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/bin/jekyll:23:in `load'
    from /Users/krosenberg/.rvm/gems/ruby-1.9.3-p327/bin/jekyll:23:in `<main>'

Not sure why this script is trying to reach into the public folder like that, or why it cares about whether this file exists? Any ideas?

I see this in the instructions: "A sitemap.xml should be included in your _site folder."

It may be an issue that the project I am currently working on is not using a "_site" folder, but a folder called "src"?

Mac OSX with rvm using Ruby 1.9.3

Thanks so much,

  • Keith
@netpoetica
Copy link
Author

This actually may have been an issue with me changing the string for "sitemap.xml", or altering this plugin in some incorrect way. I saved the file again and ran it and did not have any trouble - must have been something I changed. I changed very, very little in the file so I didn't consider that it might be something I did.

Thanks!

@netpoetica
Copy link
Author

UPDATE: There is an issue with the download on your main page. That download causes this error. Downloading the file from Github, this error goes away.

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

1 participant