Hi list,
I'm attempting to set up a development environment on Linux, but I'm
encountering problems with ZenTest and its RubyGems ~> 1.8 dependency.
I've been following a mixture of README and how_to_install.txt, filling
in for Linux and distro-specific stuff where required. I've tried the
process on CentOS 6.4 and Arch Linux VMs, but to equal lack of success.
The process always fails when running bundle on the cloned repo. The
first few dependencies install fine, but when installing ZenTest 4.8.2,
it fails with ZenTest requires RubyGems version ~> 1.8 . I have very
minimal ruby experience, so I had to do some research[1], but apparently
~> means "this version and every version up to and including the next
major version".
On CentOS, the packaged version is quite old (1.3.7), as you would
expect from enterprise Linux. I followed the tool's advice and performed
a self-update with gem update --system , however the problem continued
afterwards, with gems --version returning 2.0.3 . I thought maybe
that the ~> requirement might be disliking the micro version of 3, so
I tried Arch Linux, with a currently packaged version 2.0.0, but got the
same result.
So, unless my inexperience is the culprit, it would seem that the ~>
requirement is buggy. I have paste-binned the output from bundler, and
some version queries[2]. Any help anyone can provide would be appreciated.
Thanks,
Alex
[1] -
http://stackoverflow.com/questions/8182085/zentest-requires-rubygems-version-1-8
[2] -
http://ix.io/5x8