LoadError when installing ruby devkit [closed]

梦想的初衷 提交于 2019-12-22 04:04:37

问题


I have installed ruby on Windows 7 using the installer Ruby 1.9.3-p125 which is the latest version (ruby -v shows the right version). Next, 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 am new to ruby and I don't want to learn ruby — I just want to use Jekyll which needs ruby.

How can I fix this error?


回答1:


Try to run the command from the devkit folder, and let me know if it doesn't work.




回答2:


Try installing the dev kit from here. You'll find dk.rb in the directory you extracted the contents to.



来源:https://stackoverflow.com/questions/9748107/loaderror-when-installing-ruby-devkit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!