rake install命令不起作用(gem' octopress','〜> 3.0.7')

时间:2015-06-04 08:26:22

标签: ruby ruby-on-rails-4 rake

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

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

请帮助

1 个答案:

答案 0 :(得分:1)

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

rake -T

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

顺便问一下,你想要达到什么目的?

相关问题