rake 安装命令不起作用(gem 'octopress','~> 3.0.7')

rake install command is not working (gem 'octopress', '~> 3.0.7')

我正在使用 windows8.1。我在 Whosebug 看到了一些类似的 post 但我没有得到任何解决方案。

C:\Sites\occtopress>bundle exec rake install
DL is deprecated, please use Fiddle
DL is deprecated, please use Fiddle
rake aborted!
Don't know how to build task 'install'

(See full trace by running task with --trace)

这是我的 Rakefile:

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

Rails.application.load_tasks

请帮忙

假设您没有在 lib/tasks 中创建任何任务文件,您不会有任何名为 install 的任务。

rake -T

将列出您所有的可用任务(查找以 "rake install" 开头的行)。

顺便说一句,你想达到什么目的?