jekyll / jekyll-docs

Offline usage documentation for Jekyll. Requires Jekyll 3 and above.
https://rubygems.org/gems/jekyll-docs
MIT License
39 stars 13 forks source link

Run jekyll-docs is resulting a error message #3

Closed idmarjr closed 9 years ago

idmarjr commented 9 years ago

After open the issue jekyll-docs gem not found in jekyll repository I install the jekyll-docs gem in my computer but when I run jekyll docs it return the follow error:

screen shot 2015-08-10 at 00 46 15
mrmanc commented 9 years ago

This is the same for me. Got here from https://github.com/jekyll/jekyll-help/issues/166, then https://github.com/jekyll/jekyll/pull/3194, then https://github.com/jekyll/jekyll/pull/3241.

I think the jekyll-docs gem is still dependant on the generated site still being present in the jekyll package.

After following the directions in the readme and running from my website’s directory, I get this

$ jekyll docs
Configuration file: none
            Source: /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site
       Destination: /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/_site
      Generating... 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/category_index.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/category_index.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/collection.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/collection.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/default.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/default.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/feature.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/feature.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/home.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/home.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/page.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/page.html 
Error reading file /Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/post.html: No such file or directory @ rb_sysopen - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/Users/mark.crossfield/Documents/workspace/underground-manchester.github.io.jekyll/_layouts/post.html 
jekyll 2.5.3 | Error:  No such file or directory @ dir_chdir - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site

If I clone jekyll-docs and run from there I get:

$ jekyll docs
Configuration file: none
            Source: /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site
       Destination: /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/_site
      Generating... 
jekyll 2.5.3 | Error:  No such file or directory @ dir_chdir - /Users/mark.crossfield/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/jekyll-2.5.3/site/

Using:

JeNeSuisPasDave commented 9 years ago

+1 Same issue, same error.