I just followed This Guide.
$ gem install jekyll
Successfully installed jekyll-3.2.1
Parsing documentation for jekyll-3.2.1
Done installing documentation for jekyll after 1 seconds
1 gem installed
bash: /g/Arquivos e Programas/Ruby23-x64/bin/jekyll: "G:/Arquivos: bad interpreter: No such file or directory
Something wasn't prepared for a path with spaces in it. Spaces in paths are very common on Windows, but not at all common on Unix for this very reason.
Bash was trying to run
/g/Arquivos e Programas/Ruby23-x64/bin/jekyll which it interpreted as run the program
/g/Arquivos with the arguments
Programas/Ruby23-x64/bin/jekyll. It would have to be quoted like,
'/g/Arquivos e Programas/Ruby23-x64/bin/jekyll' or the spaces escaped like
/g/Arquivos\ e\ Programas/Ruby23-x64/bin/jekyll
The simple fix is to install Ruby to a path with no spaces in it. Like
The proper fix... well, there's likely to be a TON of places which will be broken by a path with spaces in it. Report the bug to jekyll.