耙子流产!安装Octopress的问题

Nar*_*put 6 ruby rake gem bundle

我试图在我的窗户上安装Octopress.根据他们的网站上的教程.但是当我输入命令时

rake install 
Run Code Online (Sandbox Code Playgroud)

它给了我以下错误

C:\Documents and Settings\admin\octopress>rake install
rake aborted!
You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.9.2. U
sing bundle exec may solve this.

(See full trace by running task with --trace)
Run Code Online (Sandbox Code Playgroud)

并且因为错误说我需要安装rake 0.9.2我尝试使用以下命令.

C:\Documents and Settings\admin\octopress>gem install rack -v=0.9.2.0
ERROR:  Could not find a valid gem 'rack' (= 0.9.2.0) in any repository
ERROR:  Possible alternatives: rack
Run Code Online (Sandbox Code Playgroud)

我已经在我的电脑上安装了Ruby&Gems.但我无法弄清楚如何解决这个问题.我如何使用"捆绑exec"来安装Octopress?

Vir*_*put 8

您可能需要以这种方式使用bundle exec

bundle exec rake install
Run Code Online (Sandbox Code Playgroud)

这可能只是解决了你的问题.