Closed idmarjr closed 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:
+1 Same issue, same error.
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: