Rake 因错误中止 [英] Rake aborting with error
本文介绍了Rake 因错误中止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试在生产服务器上设置 exception_logger 插件.在开发机器上一切正常.尝试在 prod 服务器上 rake db:migrate 并且我收到此错误:
Trying to setup the exception_logger plugin on a production server. Everything worked fine on the dev machine. Trying to rake db:migrate on the prod server and i get this error:
rake aborted!
no such file to load -- pagination
我错过了什么?
推荐答案
2.1 不支持经典分页 - 或者至少它是一个死库
Classic Pagination is not supported in 2.1 - or at least it is a dead library
http://workingwithrails.com/railsplugin/5289-classic-pagination
看看 will_paginate -
Have a look at will_paginate -
http://github.com/mislav/will_paginate/wikis
这就是所有酷孩子都在使用的:-)
that's what all the cool kids are using :-)
这篇关于Rake 因错误中止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文