Closed Stoic-Student closed 7 months ago
Hi @Stoic-Student - Could you try using the Windows Command shell instead of bash. I remember reading that some things work better from the command line shell. Thanks!
@mohits Thanks for the directions. I've changed the approach entirely and mostly followed this guide to install ruby and jekyll. This seems to work for me: https://gist.github.com/arthurattwell/281a5e1888ffd89b08b4861a2e3c1b35
What problems are you experiencing?
I'm trying to install Ruby and Jekyll to create a local environment for testing my website.
When following installation instructions, Jekyll doesn't work.
I've already uninstalled and reinstalled several times and on two machines (both Windows). I get the same issue.
Steps to reproduce
I follow the instructions from GitHub and Jekyll to install the packages. https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/creating-a-github-pages-site-with-jekyll https://jekyllrb.com/docs/installation/windows/
Installation of Ruby with RubyInstaller works fine. (run as administrator) When I install Jekyll according to the instructions and run 'jekyll -v', I get the error that jekyll command doesnt exist. I edit the PATH settings to the directory given by 'gem env' as EXECUTABLE DIRECTORY, where the actual bin folder for jekyll is located. After a restart, the error changes to: /c/Users/xx/.local/share/gem/ruby/3.2.0/bin/jekyll: line 6: /c/Users/xx/.local/share/gem/ruby/3.2.0/bin/ruby: No such file or directory It looks to me like Jekyll is looking for Ruby in the wrong place. Ruby is located here, as listed in the PATH settings: C:/Ruby32-x64/bin/
The 'gem env' gives the following output:
RubyGems Environment:
What's the output from
ridk version
?bash: ridk: command not found