LoadError when installing ruby ​​devkit

I installed ruby ​​on Windows 7 using the Ruby 1.9.3-p125 , which is the latest version ( ruby -v shows the correct version). Then I downloaded devkit-3.4.5r3-20091110 , which is also the latest version. When I tried the following in the installation directory,

 ruby dk.rb init 

the console showed an error:

 ruby: No such file or directory -- dk.rb (LoadError) 

I'm new to ruby ​​and I don't want to study ruby ​​- I just want to use Jekyll , who needs a ruby.

How can I fix this error?

+6
source share
2 answers

Try running the command from the devkit folder and let me know if it does not work.

+3
source

Try installing the dev kit from here . You will find dk.rb in the directory in which you extracted the content.

+2
source

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


All Articles