spork可以执行rake任务吗? [英] Can spork work with rake tasks?

查看:127
本文介绍了spork可以执行rake任务吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Rake任务遭受与运行测试相同的问题:Rails的启动过程需要很长时间才能运行任务.

Rake tasks suffer from the same problem as running tests: the Rails bootup process takes a long time before the task is even running.

有没有办法将spork和rake整合在一起?

Is there a way to integrate spork and rake together?

推荐答案

我今天发现了宙斯.这是有史以来最好的事情,所以我将答案更改为宙斯:

I discovered zeus today. It's the best thing ever, so I'm changing my answer to zeus:

https://github.com/burke/zeus

宙斯掠夺我的:特殊的:任务

zeus rake my:special:task

这篇关于spork可以执行rake任务吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆