devkit时出现LoadError

devkit时出现LoadError

本文介绍了安装ruby devkit时出现LoadError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用最新版本的安装程序Ruby 1.9.3-p125在Windows 7上安装了ruby(ruby -v显示正确的版本).接下来,我下载了devkit-3.4.5r3-20091110,它也是最新版本.当我在安装目录中尝试以下操作时,

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

控制台显示错误:

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

我是红宝石的新手,我不想学习红宝石-我只想使用 Jekyll 需要红宝石.

I am new to ruby and I don't want to learn ruby — I just want to use Jekyll which needs ruby.

如何解决此错误?

推荐答案

尝试从devkit文件夹运行命令,并让我知道它是否不起作用.

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

这篇关于安装ruby devkit时出现LoadError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 18:23