'leiningen'相关的命令太慢与Mac OS X [英] 'leiningen' related commands too slow with Mac OS X
问题描述
我安装并运行 lein ,但似乎在我的Mac(10.6.4)
I installed and run lein, but it seems to slow on My Mac (10.6.4).
运行时间lein help给我
Running 'time lein help' gives me
real 11m8.674s
user 0m54.297s
sys 1m32.621s
我再试一次。
real 15m25.560s
user 1m36.087s
sys 2m52.745s
这有什么问题?有人遇到类似的问题吗?
What's wrong with this? Is anyone experiencing similar problem? Is there anyway to check what's the problem?
当我安装时,我使用了'sudo lein deps ',因为我使用'lein deps'有一些错误。我想它导致一些问题访问文件。当我运行' sudo lein SOMETHING'时,它会照常工作。
When I install, I used 'sudo lein deps', as I got some errors using 'lein deps'. I guess it caused some problem accessing files. When I run 'sudo lein SOMETHING', it works as usual.
推荐答案
它寻找钩子。说明如下: http://groups.google.com/group/clojure/
It's because of how it looks for hooks. It's explained here: http://groups.google.com/group/clojure/browse_thread/thread/e04ab3f6e17f85c4.
您可以给予蛋糕一试。它对我的简单project.clj没有任何改变,并且是快速的,因为它使用的持久JVM。。
You could give cake a try. It worked out of the box for my simple project.clj without any changes, and is blazing fast because of the persistent JVM it uses.
这篇关于'leiningen'相关的命令太慢与Mac OS X的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!