Closed vanshika0109 closed 4 years ago
Hi @rebeccadias - Can you provide help here?. Thank you.
Yes sure .Thank You
Windows platform
Some background:
Corresponding to on windows ('win32'
), jekyll.bat
should be utilized.
https://github.com/j143/systemds-website/blob/7c9284a4655f25cc78dc8ab390f58292c927afbb/gulpfile.js#L9
Check the process.platform
as shown.
Based on 1, jekyll.bat
should be available on the path.
Links related to this issue: https://stackoverflow.com/questions/21856861/running-jekyll-as-a-child-process-in-gulp-node
Linux platform
Links related to this issue: https://github.com/willianjusten/cards-jekyll-template/issues/20
Hi @vanshika0109 - can you see the above comment. This might give you an idea of how gulp
command is invoking jekyll
.
@vanshika0109 - Hi, For windows 1.Make sure you have Ruby Installed. If not install it from here https://rubyinstaller.org 2.set up the ruby environment in the Path variables .
3.Install jekyll with the help of this https://jekyllrb.com/docs/
Hi @vanshika0109 - can you see the above comment. This might give you an idea of how
gulp
command is invokingjekyll
.
Yes, I can see it and I understand that๐.
I have installed ruby but now I am not able to install jekyll. I have set the path also.
Make sure you could spot jekyll.bat file in your installation.
Please, take walk for while and spend reading each comment for 5 minutes.
I guess it is the RubyGems version incompatibility with native extension gems. https://stackoverflow.com/questions/26276207/error-failed-to-build-gem-native-extension-on-windows https://github.com/jekyll/jekyll/issues/7000
Hi @vanshika0109 - If you solved this issue please let others know. (may be you would want to thank the people for their interest in solving this issue.)
Thank you. ๐
I am really sorry for the delay. I have solved the issue. The solutions you all provided helped me a lot. Thank you so much, both of you๐.
I solved this error by running the command 'gem install jekyll'. The only reason why jekyll was not working was that it wasn't getting installed properly, this happened more than 2 times. After running this command I used the 'gulp' command again and it worked successfully. ๐
Problem: I am trying to run gulp command on the PowerShell, but this error is prompting every time I try to execute it. Could anyone help to resolve this?
Screenshot:
Causes: More info at https://github.com/j143/systemds-website/issues/3#issuecomment-658130013
Solution: