Q: gem command not found through git bash I'm new to git and I've been setting up a jekyll blog through my github account. I'm using the git bash command line. In the instructions one of the commands is:
$ gem install jekyll

When I run this it tells me:
sh.exe": gem: command not found

Anyone know how I can fix this? Does this have anything to do with Ruby?

A: gem, RubyGems, is a package manager for Ruby. It seems that it is not installed on your computer, or not available inside your $PATH.
First, try to execute which gem to see whether you can access it or not. Then,


*

*If you previously installed gem, you probably have to modify $PATH to add the package manager's executable location.

*If you did not, you need to. On Windows, your best option is to install Cygwin.
