Rake在运行“rake install”时中止为Octopress? [英] Rake aborted when running "rake install" for Octopress?
问题描述
我在 C:\devKit中安装了Ruby 2.0.0和DevKit
,然后运行 gem install bundler
和 bundle install
。
它们运行成功,但是当我运行 rake install
时,我总是收到如下错误消息:
rake中止!无法加载此文件 -
C:/ Users / username / Documents / GitHub / octopress / Rakefile
我认为问题在于我的用户名是中文,但可能还有其他问题吗?
我试过 bundle update
bundle exec rake install
但它没有用。 我希望有人可以帮忙
只是为了清理这个问题并提供正确的答案。
我认为问题在于我的用户名是中文,但是会有其他问题吗?
问题是,用户有非英语字符作为Windows用户名。
这导致错误和耙子不能加载所需的文件。
更改名称或将Octopress移至其他文件夹可解决问题。
I want to build Octopress on my Windows 8.1 system.
I installed Ruby 2.0.0, and DevKit in C:\devKit
, then ran gem install bundler
and bundle install
.
They run successfully but when I run rake install
, I always get an error message like:
rake aborted! cannot load such file --
C:/Users/username/Documents/GitHub/octopress/Rakefile
I think the problem is that my username is Chinese, but could there be another problem?
I've tried bundle update
or bundle exec rake install
but it didn't work.
I hope someone can help me.
Just to clean up this question and to supply the right answer.
I think the problem is that my username is Chinese, but could there be another problem?
The problem is that that current user has non English characters as the windows username.
This cause error and rake cant load the desired file.
Changing teh name or moving the the Octopress to a different folder fixed the problem.
这篇关于Rake在运行“rake install”时中止为Octopress?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!