Stream: IG creation
Topic: Setting up Ruby and Jekyll
Linda (Aug 06 2020 at 20:47):
I am in an organization that does not allow us to install Ruby or Jekyll directly. We have to create an install that can be pushed to Windows users. I have Ruby 2.5.7p206 installed and did gem install jekyll with Jekyll 4.1.1. I pulled a couple of IG's and using the updatePublisher and genonce batch files ran them both to the end / build finished. However, I do not have any html files in output folder (there are html files in qa and temp). Can anyone tell me what I need to do or look for? (Keep in mind that I am not a developer so use simple language please :) )
One other note, I tried a simple jekyll command to start a blog. Jekyll seems to run but nothing happens. Same when I do jekyll -v. No error just a return to command line.
ThanQ in advance for your help
Jose Costa Teixeira (Aug 06 2020 at 21:04):
There is a portable jekyll installation for windows
Grahame Grieve (Aug 06 2020 at 21:06):
it would help if you posted output logs
Linda (Aug 06 2020 at 21:08):
Gladly which files do you want? image.png
Grahame Grieve (Aug 06 2020 at 21:09):
the text output you got in the console
Linda (Aug 06 2020 at 21:23):
ThanQ for your patience log.txt
Grahame Grieve (Aug 06 2020 at 21:29):
so the log shows that Jekyll didn't run
Grahame Grieve (Aug 06 2020 at 21:31):
but there's no way that it wouldn't create an exception. I can't explain what you're getting from the code
Grahame Grieve (Aug 06 2020 at 21:31):
what happens if you run jekyll from the command line?
Jens Villadsen (Aug 06 2020 at 21:31):
@Linda run it in docker ... that is if you're allowed to do so
Linda (Aug 06 2020 at 21:32):
jekyll appears to run but does noting and returns a command line
Grahame Grieve (Aug 06 2020 at 21:32):
oh I see above. Well, you need some local dev who can figure out what jekyll won't run. You won't be able to do what you're trying to until Jekyll runs properly. It's not even returning an error
Linda (Aug 06 2020 at 21:33):
Is this the best page for install instructions? https://confluence.hl7.org/display/FHIR/IG+Publisher+Documentation#IGPublisherDocumentation-Jekyll
I asked him to use Windows link - perhaps he missed the config file change? Assume that is necessary
Jose Costa Teixeira (Aug 06 2020 at 21:52):
installing jekyll is simple - you instally ruby and then jekyll, out of the box it works ok.
One thing I remember is having issues with ruby 2.7, so I installed 2.6
Jose Costa Teixeira (Aug 06 2020 at 21:52):
Jose Costa Teixeira (Aug 06 2020 at 22:00):
if you need a portable (no install) version of jekyll let me know. I had it working a few months, ago, I can check.
Linda (Aug 12 2020 at 19:55):
ThanQ, the portable is tempting but as updates get made, would likely be an issue. I am going to lobby for a way to have the install load the Jekyll gem. And ThanQ Graham for the help too.
Jose Costa Teixeira (Aug 12 2020 at 20:23):
that is the best approach indeed.
Last updated: Apr 12 2022 at 19:14 UTC