ewollesen / autotest-inotify

Teaches autotest to use inotify (on Linux) instead of filesystem polling.
http://kill-0.com/projects/autotest-inotify
MIT License
18 stars 7 forks source link

Install forces install of ZenTest, even though a non-bundled autotest or autotest-standalone exists. #7

Closed cosmolee closed 13 years ago

cosmolee commented 13 years ago

The installation of autotest-inotify forces the installation of ZenTest. I believe that this has to do with recent versions of autotest now being bundled with ZenTest. But there are those us who don't want ZenTest.

I've got either a non-bundled autotest (v4.4.5) (no ZenTest bundle) or autotest-standalone installed.

Even though the autotest-inotify notes says that it requires autotest>=4.2.4, and I already have autotest v4.4.5 installed, ZenTest still gets installed. The install should not do this.

$ gem list
...
autotest (4.4.5)

$ gem install autotest-inotify -v 0.0.4
Successfully installed autotest-inotify-0.0.4
Successfully installed ZenTest-4.4.2

ewollesen commented 13 years ago

autotest-inotify does not require nor depend on ZenTest. However, ZenTest is listed as a dependency of autotest. I'm guessing that the gem command builds a dependency tree and installs anything in it that doesn't exist. Unfortunately, this is out of my hands. Perhaps using:

$ gem install --no-dependencies autotest-inotify

would prevent gem from installing ZenTest.

cosmolee commented 13 years ago

I believe the problem is that autotest is now a part of ZenTest. So, as long as you require autotest, you will get ZenTest.

Actually, there IS something you could do. Require autotest-standalone instead of autotest.