Rake aborted when running “rake install” for Octopress?

為{幸葍}努か 提交于 2019-12-11 05:49:38

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/22865596/rake-aborted-when-running-rake-install-for-octopress

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