Octopress 'rake aborted' 在 'rake install' 期间 Windows 10

Octopress 'rake aborted' during 'rake install' on Windows 10

今天我尝试在 Windows 上获取 octopress 运行 并且在 rake install 之前一切正常,因为那时我收到了这条消息:

C:\octopress>rake install --trace
## Set the codepage to 65001 for Windows machines
rake aborted!
Errno::ENOENT: No such file or directory - chcp 65001
C:/octopress/Rakefile:32:in ``'
C:/octopress/Rakefile:32:in `<top (required)>'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
C:/Ruby21/bin/rake:23:in `load'
C:/Ruby21/bin/rake:23:in `<main>'

我已经尝试重新安装 gems,运行 它以管理员和普通用户身份重新安装。在 Windows 10 下尝试安装 octopress 时是否有其他人遇到同样的问题?

Edit:// 我发现错误只是属于命令 'chcp',它在 Windows 10 x64 上不可用。有没有办法让这个命令在 Windows 10 x64 上运行?

将 Windows 10 升级到最新版本解决了这个问题。