Running Jekyll on Windows 7

I had a problem running Jekyll on Windows 7. When I start

jekyll 

I get the following error

 C:\temp\jekyll\kouphax.github.com> jekyll Configuration from C:/temp/jekyll/kouphax.github.com/_config.yml Building site: C:/temp/jekyll/kouphax.github.com -> C:/temp/jekyll/kouphax.github.com/_site unit-testing You are missing a library required for Textile. Please run: $ [sudo] gem install RedCloth ERROR: YOUR SITE COULD NOT BE BUILT: ------------------------------------ Missing dependency: RedCloth 

However installed RedCloth IS

 C:\temp\jekyll\kouphax.github.com> gem install RedCloth Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Successfully installed RedCloth-4.2.8 1 gem installed Installing ri documentation for RedCloth-4.2.8... Installing RDoc documentation for RedCloth-4.2.8... 

Can someone enlighten me?

+6
source share
3 answers

I followed the instructions here and this fixed my problem.

After installing gem, RedCloth will run redcloth.bat from \ Ruby \ bin (replace \ Ruby \ with the Ruby installation directory).

If he complains that he will not find the path 1.9 / redcloth_scan, do the following:

Create a directory named 1.9 in \ Ruby \ lib \ ruby ​​\ gems \ 1.9.1 \ gems \ RedCloth-4.2.8 \ ext

Copy everything from \ Ruby \ lib \ ruby ​​\ gems \ 1.9.1 \ gems \ RedCloth-4.2.8 \ ext \ redcloth_scan to the newly created folder 1.9.

+2
source

Try removing gems and reinstalling them. RedCloth first and then Textile so that it is confident in RedCloth.

(I'm new to ruby, so that doesn't even make sense, but it seems like it's worth it.)

0
source

Try downloading and reinstalling the last ruby , then follow the instructions, good luck!

0
source

Source: https://habr.com/ru/post/896165/


All Articles