Current Behavior
Individual pages are generated for each person in the _members collection at https://layer5.io/community/members/{% include member.html %} ).
Desired Behavior
Create a member-html and a members-list.html in order to present the "_members" collection and display a member's profile.
Related Issue: #578
Resources
This issue pertains to the current generation of the layer5.io website, which uses Jekyll and GitHub Pages. Site content is found under the master branch.
@Neilblaze up for the challenge?
Yeah I would love to :smile: . But it may take a bit long as my semester will be starting tomorrow onwards. Hope it feels ok :smiley:
No sweat. School _always_ comes first.
I can solve this problem If this is still open.
@kishore007k, yes, please. 馃憤
I'm getting this error while running. Can somebody help?
PS G:\layer5> bundle exec jekyll serve --trace
Configuration file: G:/layer5/_config.yml
Source: G:/layer5
Destination: G:/layer5/_site
Incremental build: disabled. Enable with --incremental
Generating...
Jekyll Feed: Generating feed for posts
Traceback (most recent call last):
34: from C:/Ruby26-x64/bin/jekyll:23:in `<main>'
33: from C:/Ruby26-x64/bin/jekyll:23:in `load'
32: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/exe/jekyll:15:in `<top (required)>'
31: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
30: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
29: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
28: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
27: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
26: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
25: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
24: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `each'
23: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
22: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/commands/build.rb:36:in `process'
21: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/commands/build.rb:65:in `build'
20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:28:in `process_site'
19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:78:in `process'
18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-assets-1.0.0/lib/jekyll/assets/patches/site_patch.rb:55:in `__wrap_write'
17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:218:in `write'
16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:342:in `each_site_file'
15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:342:in `each'
14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:343:in `block in each_site_file'
13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:343:in `each'
12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:344:in `block (2 levels) in each_site_file'
11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-4.0.1/lib/jekyll/site.rb:219:in `block in write'
10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:168:in `write'
9: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:32:in `output_compressed'
8: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:81:in `output_html'
7: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/jekyll-minifier-0.1.10/lib/jekyll-minifier.rb:9:in `output_file'
6: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:200:in `mkdir_p'
5: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:200:in `each'
4: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:215:in `block in mkdir_p'
3: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:215:in `reverse_each'
2: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:217:in `block (2 levels) in mkdir_p'
1: from C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:239:in `fu_mkdir'
C:/Ruby26-x64/lib/ruby/2.6.0/fileutils.rb:239:in `mkdir': Invalid argument @ dir_s_mkdir - G:/layer5/_site/https: (Errno::EINVAL)
Two things:
If stilll it doesn't work out for you , ping me in slack. Let's see if we can get over it. 馃憢
@kishore007k I find https://rvm.io very helpful in managing the versions of Ruby installed on my machine.
@PluckyPrecious, any number of contributors have gotten snagged on Ruby versions. We might want to consider adding a note about https://rvm.io and managing ruby versions to the Meshery, SMP, Layer5 sites docs.
Hey @leecalcote actually I googled about the issue, I found that it is a known issue with Jekyll on Windows, which means Jekyll does know that. Infact it has been a long time since this issue persists, but they don't have a solution yet. The issue is related with the ASCII or NON-ASCII characters in the path of files like the drive details is added in the path for Windows ex- 'C:', 'D:' . This is not the case for other OS. So, the advice would be to move on with a different OS to work with.
Hi @leecalcote actually I tried all the methods as @Nikhil-Ladha suggested but it seems like a known issue in the Windows platform. And I have gone through the issue that @Nikhil-Ladha sent to me. I Don't have a Mac PC with me, So it would be better to give way for the others.
If you are inclined, you can try with Linux as well. Otherwise, no worries 馃檪
@kishore007k Idk if it still works or not, but I used to utilize pik as an alternative of RVM few years ago. You can definitely try it out if you're facing some problems with ruby version regarding the Gemfile.
Rest, shifting to MacOS or Linux seems to be the perfect solution to me.
@kishore007k I find https://rvm.io very helpful in managing the versions of Ruby installed on my machine.
@PluckyPrecious, any number of contributors have gotten snagged on Ruby versions. We might want to consider adding a note about https://rvm.io and managing ruby versions to the Meshery, SMP, Layer5 sites docs.
Yes, @leecalcote this is a Windows issue as it's not a Jekyll officially supported platform, but can work on Windows Subsystem for Linux (Running Windows 10, updated to version 1903 Build 18362 or higher). We've tried out many tweaks to no avail. I'll sure check out the suggested options and add the note as well.