jekyll / jekyll-help

NO LONGER MAINTAINED. USE JEKYLL TALK INSTEAD.
https://talk.jekyllrb.com
146 stars 19 forks source link

Jekyll not found after running gem install #369

Closed MatthewRock closed 7 years ago

MatthewRock commented 7 years ago

Running Linux Gentoo with 4.12 kernel.

Problem description:

After running gem install jekyll bundler, I can't run jekyll new myblog as it is not found.

Additional problems:

The troubleshooting section did not help.

Solution:

I used locate to find the jekyll. It was under $HOME/.gem/ruby/2.2.0/bin directory. I have added that directory to $PATH. After that, jekyll worked fine.

Caveats:

I had another directory, 2.1.0 next to the 2.2.0. I checked my Ruby version with ruby -v, but this might not work if I switch the Ruby version(and in Gentoo, you usually do that with eselect ruby set). I'm not sure if my solution is a true solution, or a temporary workaround.

If you need anything else, please let me know!

jekyllbot commented 7 years ago

This repository is no longer maintained. If you're still experiencing this problem, please search for your issue on Jekyll Talk, our new community forum. If it isn't there, feel free to post to the Help category and someone will assist you. Thanks!